public interface ISvnCommitHandler
The interface defines the only one method which takes the initial log message and an array of items that are intended for a commit. For example, an implementor's code can process those items and add some generated additional comment to that one passed into the method. There could be plenty of scenarios.
DefaultSVNCommitHandler
Modifier and Type | Method and Description |
---|---|
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. |
java.lang.String getCommitMessage(java.lang.String message, SvnCommitItem[] commitables) throws SVNException
message
- an initial log messagecommitables
- an array of items to be committednull
to cancel commit operation.SVNException
SVNProperties getRevisionProperties(java.lang.String message, SvnCommitItem[] commitables, SVNProperties revisionProperties) throws SVNException
commitables
) collected for committing and the commit log message.
Only the returned filtered revision properties will be set on a new committed revision.
message
- log message for commitcommitables
- paths to commitrevisionProperties
- initial revision propertiesSVNException
Copyright © 2004-2012 TMate Software Ltd. All Rights Reserved.