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 Classes
    Modifier and Type
    Interface
    Description
    static final class 
    An enumeration class representing the supported subversion commands/actions.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    logCommandLine(String commandLine)
    called at the beginning of the command
    void
    called when a command has completed
    void
    logError(String message)
    called when an error happen during a command
    void
    logMessage(String message)
    called multiple times during the execution of a command
    void
    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 of ISVNNotifyListener.Command.* constants
    • logCommandLine

      void logCommandLine(String commandLine)
      called at the beginning of the command
      Parameters:
      commandLine -
    • logMessage

      void logMessage(String message)
      called multiple times during the execution of a command
      Parameters:
      message -
    • logError

      void logError(String message)
      called when an error happen during a command
      Parameters:
      message -
    • logRevision

      void logRevision(long revision, 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(String message)
      called when a command has completed
      Parameters:
      message -
    • onNotify

      void onNotify(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 dir
      kind - file or dir or unknown