Interface ISVNNotifyListener
-
public interface ISVNNotifyListenerA 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 Classes Modifier and Type Interface Description static classISVNNotifyListener.CommandAn enumeration class representing the supported subversion commands/actions.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidlogCommandLine(java.lang.String commandLine)called at the beginning of the commandvoidlogCompleted(java.lang.String message)called when a command has completedvoidlogError(java.lang.String message)called when an error happen during a commandvoidlogMessage(java.lang.String message)called multiple times during the execution of a commandvoidlogRevision(long revision, java.lang.String path)Called when a command has completed to report that the command completed against the specified revision.voidonNotify(java.io.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 Detail
-
setCommand
void setCommand(int command)
Tell the callback the command to be executed- Parameters:
command- one ofISVNNotifyListener.Command.* constants
-
logCommandLine
void logCommandLine(java.lang.String commandLine)
called at the beginning of the command- Parameters:
commandLine-
-
logMessage
void logMessage(java.lang.String message)
called multiple times during the execution of a command- Parameters:
message-
-
logError
void logError(java.lang.String message)
called when an error happen during a command- Parameters:
message-
-
logRevision
void logRevision(long revision, java.lang.String path)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
void logCompleted(java.lang.String message)
called when a command has completed- Parameters:
message-
-
onNotify
void onNotify(java.io.File path, SVNNodeKind kind)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
-
-