jetbrains.buildServer.serverSide.agent
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 Summary
 void error(java.lang.String reason)
          Is called in case of error.
 void success(java.io.File file)
          Is called in case of success.
 

Method Detail

error

void error(@NotNull
           java.lang.String reason)
Is called in case of error.

Parameters:
reason - error reason

success

void success(@NotNull
             java.io.File file)
Is called in case of success.

Parameters:
file - local file (or directory) requested