Class SvnCodec.SVNCommitHandler
java.lang.Object
org.tmatesoft.svn.core.internal.wc2.compat.SvnCodec.SVNCommitHandler
- All Implemented Interfaces:
ISVNCommitHandler,ISVNFileFilter
- Enclosing class:
- SvnCodec
private static class SvnCodec.SVNCommitHandler
extends Object
implements ISVNCommitHandler, ISVNFileFilter
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanThis method is called to add extra filtering of files.getCommitMessage(String message, SVNCommitItem[] commitables) Handles the incoming initial log message and items intended for a commit and returns a new commit log message.getRevisionProperties(String message, SVNCommitItem[] commitables, SVNProperties revisionProperties) Handles the incoming revision properties and returns filtered revision properties given the paths (represented bycommitables) collected for committing and the commit log message.
-
Field Details
-
targetHandler
-
-
Constructor Details
-
SVNCommitHandler
-
-
Method Details
-
accept
Description copied from interface:ISVNFileFilterThis method is called to add extra filtering of files.- Specified by:
acceptin interfaceISVNFileFilter- Parameters:
file- file to accept or not- Returns:
- true if the file should be accepted
- Throws:
SVNException
-
getRevisionProperties
public SVNProperties getRevisionProperties(String message, SVNCommitItem[] commitables, SVNProperties revisionProperties) throws SVNException Description copied from interface:ISVNCommitHandlerHandles the incoming revision properties and returns filtered revision properties given the paths (represented bycommitables) collected for committing and the commit log message.Only the returned filtered revision properties will be set on a new committed revision.
- Specified by:
getRevisionPropertiesin interfaceISVNCommitHandler- Parameters:
message- log message for commitcommitables- paths to commitrevisionProperties- initial revision properties- Returns:
- filtered revision properties
- Throws:
SVNException
-
getCommitMessage
Description copied from interface:ISVNCommitHandlerHandles the incoming initial log message and items intended for a commit and returns a new commit log message.- Specified by:
getCommitMessagein interfaceISVNCommitHandler- Parameters:
message- an initial log messagecommitables- an array of items to be committed- Returns:
- a new log message string or NULL to cancel commit operation.
- Throws:
SVNException
-