Class SVNNotificationHandler

java.lang.Object
org.tigris.subversion.svnclientadapter.SVNNotificationHandler

public abstract class SVNNotificationHandler extends Object
Notification handler : It sends notifications to all listeners
  • Field Details

    • notifylisteners

      protected Set notifylisteners
    • command

      protected int command
    • logEnabled

      protected boolean logEnabled
    • baseDir

      protected File baseDir
  • Constructor Details

    • SVNNotificationHandler

      public SVNNotificationHandler()
  • Method Details

    • add

      public void add(ISVNNotifyListener listener)
      Add a notification listener
      Parameters:
      listener -
    • remove

      public void remove(ISVNNotifyListener listener)
      Remove a notification listener
      Parameters:
      listener -
    • enableLog

      public void enableLog()
      restore logging
    • disableLog

      public void disableLog()
      disable all logging
    • logMessage

      public void logMessage(String message)
    • logError

      public void logError(String message)
    • logRevision

      public void logRevision(long revision, String path)
    • logCompleted

      public void logCompleted(String message)
    • setCommand

      public void setCommand(int command)
      set the command
      Parameters:
      command -
    • logCommandLine

      public void logCommandLine(String commandLine)
      log the command line
      Parameters:
      commandLine -
    • logException

      public void logException(Exception clientException)
      To call when a method of ClientAdapter throw an exception
      Parameters:
      clientException -
    • setBaseDir

      public void setBaseDir(File baseDir)
      set the baseDir : directory to use as base directory when path is relative
      Parameters:
      baseDir -
    • setBaseDir

      public void setBaseDir()
    • notifyListenersOfChange

      public void notifyListenersOfChange(String path)
    • notifyListenersOfChange

      public void notifyListenersOfChange(String path, SVNNodeKind kind)
    • skipCommand

      protected boolean skipCommand()
      For certain commands we just want to skip the logging of the command line