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 class
An enumeration class representing the supported subversion commands/actions. -
Method Summary
Modifier and TypeMethodDescriptionvoid
logCommandLine
(String commandLine) called at the beginning of the commandvoid
logCompleted
(String message) called when a command has completedvoid
called when an error happen during a commandvoid
logMessage
(String message) called multiple times during the execution of a commandvoid
logRevision
(long revision, String path) Called when a command has completed to report that the command completed against the specified revision.void
onNotify
(File path, SVNNodeKind kind) called when a subversion action happen on a file (add, delete, update ...)void
setCommand
(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
-