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 class  ISVNNotifyListener.Command
      An enumeration class representing the supported subversion commands/actions.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void logCommandLine​(java.lang.String commandLine)
      called at the beginning of the command
      void logCompleted​(java.lang.String message)
      called when a command has completed
      void logError​(java.lang.String message)
      called when an error happen during a command
      void logMessage​(java.lang.String message)
      called multiple times during the execution of a command
      void logRevision​(long revision, java.lang.String path)
      Called when a command has completed to report that the command completed against the specified revision.
      void onNotify​(java.io.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 Detail

      • setCommand

        void setCommand​(int command)
        Tell the callback the command to be executed
        Parameters:
        command - one of ISVNNotifyListener.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 dir
        kind - file or dir or unknown