|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.tmatesoft.svn.core.wc2.SvnOperation<T> org.tmatesoft.svn.core.wc2.SvnReceivingOperation<SVNCommitInfo> org.tmatesoft.svn.core.wc2.AbstractSvnCommit
public abstract class AbstractSvnCommit
Base class for operations that change repository. The AbstractSvnCommit class provides methods to perform operations that relate to committing changes to an SVN repository. These operations are similar to respective commands of the native SVN command line client and include ones which operate on working copy items as well as ones that operate only on a repository: commit, import, remote copy, remote delete, remote make directory, remote set property.
SvnOperation.run()
method returns SVNCommitInfo
information on a new revision as the result of the commit.
SvnCommit
,
SvnImport
,
SvnRemoteCopy
,
SvnRemoteDelete
,
SvnRemoteMkDir
,
SvnRemoteSetProperty
Constructor Summary | |
---|---|
protected |
AbstractSvnCommit(SvnOperationFactory factory)
|
Method Summary | |
---|---|
ISvnCommitHandler |
getCommitHandler()
Gets the commit handler for the operation. |
java.lang.String |
getCommitMessage()
Gets commit log message. |
SVNProperties |
getRevisionProperties()
Gets custom revision properties for the operation. |
void |
setCommitHandler(ISvnCommitHandler commitHandler)
Sets the commit handler for the operation. |
void |
setCommitMessage(java.lang.String commitMessage)
Sets commit log message. |
void |
setRevisionProperties(SVNProperties revisionProperties)
Sets custom revision properties for the operation. |
void |
setRevisionProperty(java.lang.String name,
SVNPropertyValue value)
Adds custom revision properties for the operation. |
Methods inherited from class org.tmatesoft.svn.core.wc2.SvnReceivingOperation |
---|
first, getReceiver, initDefaults, last, receive, run, setReceiver |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected AbstractSvnCommit(SvnOperationFactory factory)
Method Detail |
---|
public SVNProperties getRevisionProperties()
null
, revisionProperties
holds additional, custom revision properties (String
names
mapped to SVNPropertyValue
values) to be set on the new revision.
This table cannot contain any standard Subversion properties.
public void setRevisionProperties(SVNProperties revisionProperties)
null
, revisionProperties
holds additional, custom revision properties (String
names
mapped to SVNPropertyValue
values) to be set on the new revision.
This table cannot contain any standard Subversion properties.
revisionProperties
- custom revision propertiespublic java.lang.String getCommitMessage()
public void setCommitMessage(java.lang.String commitMessage)
commitMessage
- commit log messagepublic void setRevisionProperty(java.lang.String name, SVNPropertyValue value)
setRevisionProperties(SVNProperties)
name
- name of custom revision propertyvalue
- value of custom revision propertypublic ISvnCommitHandler getCommitHandler()
public void setCommitHandler(ISvnCommitHandler commitHandler)
commitHandler
- commit handler
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |