Interface ISVNNotifyListener
public interface ISVNNotifyListener
A callback interface used for receiving notifications of a progress of
a subversion command invocation.
- Author:
- Cédric Chabanois cchabanois@ifrance.com
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classAn enumeration class representing the supported subversion commands/actions. -
Method Summary
Modifier and TypeMethodDescriptionvoidlogCommandLine(String commandLine) called at the beginning of the commandvoidlogCompleted(String message) called when a command has completedvoidcalled when an error happen during a commandvoidlogMessage(String message) called multiple times during the execution of a commandvoidlogRevision(long revision, String path) Called when a command has completed to report that the command completed against the specified revision.voidonNotify(File path, SVNNodeKind kind) called when a subversion action happen on a file (add, delete, update ...)voidsetCommand(int command) Tell the callback the command to be executed
-
Method Details
-
setCommand
void setCommand(int command) Tell the callback the command to be executed- Parameters:
command- one ofISVNNotifyListener.Command.* constants
-
logCommandLine
called at the beginning of the command- Parameters:
commandLine-
-
logMessage
called multiple times during the execution of a command- Parameters:
message-
-
logError
called when an error happen during a command- Parameters:
message-
-
logRevision
Called when a command has completed to report that the command completed against the specified revision.- Parameters:
revision-path- - path to folder which revision is reported (either root, or some of svn:externals)
-
logCompleted
called when a command has completed- Parameters:
message-
-
onNotify
called when a subversion action happen on a file (add, delete, update ...)- Parameters:
path- the canonical path of the file or dirkind- file or dir or unknown
-