Class SvnCodec.SvnCommitHandlerWithFilter

java.lang.Object
org.tmatesoft.svn.core.internal.wc2.compat.SvnCodec.SvnCommitHandlerWithFilter
All Implemented Interfaces:
ISvnCommitHandler, ISvnFileFilter
Enclosing class:
SvnCodec

private static class SvnCodec.SvnCommitHandlerWithFilter extends Object implements ISvnCommitHandler, ISvnFileFilter
  • Field Details

  • Constructor Details

    • SvnCommitHandlerWithFilter

      public SvnCommitHandlerWithFilter(ISVNCommitHandler target)
  • Method Details

    • accept

      public boolean accept(File file) throws SVNException
      Specified by:
      accept in interface ISvnFileFilter
      Throws:
      SVNException
    • getRevisionProperties

      public SVNProperties getRevisionProperties(String message, SvnCommitItem[] commitables, SVNProperties revisionProperties) throws SVNException
      Description copied from interface: ISvnCommitHandler
      Handles the incoming revision properties and returns filtered revision properties given the paths (represented by commitables) collected for committing and the commit log message.

      Only the returned filtered revision properties will be set on a new committed revision.

      Specified by:
      getRevisionProperties in interface ISvnCommitHandler
      Parameters:
      message - log message for commit
      commitables - paths to commit
      revisionProperties - initial revision properties
      Returns:
      filtered revision properties
      Throws:
      SVNException
    • getCommitMessage

      public String getCommitMessage(String message, SvnCommitItem[] commitables) throws SVNException
      Description copied from interface: ISvnCommitHandler
      Handles the incoming initial log message and items intended for a commit and returns a new commit log message.
      Specified by:
      getCommitMessage in interface ISvnCommitHandler
      Parameters:
      message - an initial log message
      commitables - an array of items to be committed
      Returns:
      a new log message string or null to cancel commit operation.
      Throws:
      SVNException