|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.tigris.subversion.svnclientadapter.SVNNotificationHandler
public abstract class SVNNotificationHandler
Notification handler : It sends notifications to all listeners
Field Summary | |
---|---|
protected java.io.File |
baseDir
|
protected int |
command
|
protected boolean |
logEnabled
|
protected java.util.Set |
notifylisteners
|
Constructor Summary | |
---|---|
SVNNotificationHandler()
|
Method Summary | |
---|---|
void |
add(ISVNNotifyListener listener)
Add a notification listener |
void |
disableLog()
disable all logging |
void |
enableLog()
restore logging |
void |
logCommandLine(java.lang.String commandLine)
log the command line |
void |
logCompleted(java.lang.String message)
|
void |
logError(java.lang.String message)
|
void |
logException(java.lang.Exception clientException)
To call when a method of ClientAdapter throw an exception |
void |
logMessage(java.lang.String message)
|
void |
logRevision(long revision,
java.lang.String path)
|
void |
notifyListenersOfChange(java.lang.String path)
|
void |
notifyListenersOfChange(java.lang.String path,
SVNNodeKind kind)
|
void |
remove(ISVNNotifyListener listener)
Remove a notification listener |
void |
setBaseDir()
|
void |
setBaseDir(java.io.File baseDir)
set the baseDir : directory to use as base directory when path is relative |
void |
setCommand(int command)
set the command |
protected boolean |
skipCommand()
For certain commands we just want to skip the logging of the command line |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.Set notifylisteners
protected int command
protected boolean logEnabled
protected java.io.File baseDir
Constructor Detail |
---|
public SVNNotificationHandler()
Method Detail |
---|
public void add(ISVNNotifyListener listener)
listener
- public void remove(ISVNNotifyListener listener)
listener
- public void enableLog()
public void disableLog()
public void logMessage(java.lang.String message)
public void logError(java.lang.String message)
public void logRevision(long revision, java.lang.String path)
public void logCompleted(java.lang.String message)
public void setCommand(int command)
command
- public void logCommandLine(java.lang.String commandLine)
commandLine
- public void logException(java.lang.Exception clientException)
clientException
- public void setBaseDir(java.io.File baseDir)
baseDir
- public void setBaseDir()
public void notifyListenersOfChange(java.lang.String path)
public void notifyListenersOfChange(java.lang.String path, SVNNodeKind kind)
protected boolean skipCommand()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |