Interface SAgentFileManager.Callback

  • All Known Implementing Classes:
    DefaultCallback
    Enclosing interface:
    SAgentFileManager

    public static interface SAgentFileManager.Callback
    The callback for firing the completion of an operation or the error.
    • Method Detail

      • error

        void error​(@NotNull
                   String reason)
        Is called in case of error.
        Parameters:
        reason - error reason
      • success

        void success​(@NotNull
                     File file)
        Is called in case of success.
        Parameters:
        file - local file (or directory) requested