private static class SvnCodec.SvnCommitHandlerWithFilter extends java.lang.Object implements ISvnCommitHandler, ISvnFileFilter
| Modifier and Type | Field and Description |
|---|---|
private ISVNCommitHandler |
targetHandler |
| Constructor and Description |
|---|
SvnCommitHandlerWithFilter(ISVNCommitHandler target) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(java.io.File file) |
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 SvnCommitHandlerWithFilter(ISVNCommitHandler target)
public boolean accept(java.io.File file)
throws SVNException
accept in interface ISvnFileFilterSVNExceptionpublic 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 committednull to cancel commit operation.SVNException