private static class SvnCodec.SVNCommitHandler extends java.lang.Object implements ISVNCommitHandler, ISVNFileFilter
| Modifier and Type | Field and Description |
|---|---|
private ISvnCommitHandler |
targetHandler |
| Constructor and Description |
|---|
SVNCommitHandler(ISvnCommitHandler target) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(java.io.File file)
This method is called to add extra filtering of files.
|
java.lang.String |
getCommitMessage(java.lang.String message,
SVNCommitItem[] commitables)
Handles the incoming initial log message and items intended for a commit and
returns a new commit log message.
|
SVNProperties |
getRevisionProperties(java.lang.String message,
SVNCommitItem[] commitables,
SVNProperties revisionProperties)
Handles the incoming revision properties and returns filtered revision properties given the paths
(represented by
commitables) collected for committing and the commit log message. |
private final ISvnCommitHandler targetHandler
public SVNCommitHandler(ISvnCommitHandler target)
public boolean accept(java.io.File file)
throws SVNException
ISVNFileFilteraccept in interface ISVNFileFilterfile - file to accept or notSVNExceptionpublic SVNProperties getRevisionProperties(java.lang.String message, SVNCommitItem[] commitables, SVNProperties revisionProperties) throws SVNException
ISVNCommitHandlercommitables) collected for committing and the commit log message.
Only the returned filtered revision properties will be set on a new committed revision.
getRevisionProperties in interface ISVNCommitHandlermessage - log message for commitcommitables - paths to commitrevisionProperties - initial revision propertiesSVNExceptionpublic java.lang.String getCommitMessage(java.lang.String message,
SVNCommitItem[] commitables)
throws SVNException
ISVNCommitHandlergetCommitMessage in interface ISVNCommitHandlermessage - an initial log messagecommitables - an array of items to be committedSVNException