|
|||||||||
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 org.tmatesoft.svn.core.wc2.SvnRemoteDelete
public class SvnRemoteDelete
Represents delete operation. Deletes items from a repository.
Alltargets
should be URLs, representing repository locations to be removed.
URLs can be from multiple repositories.
commitHandler
will be asked for a commit log message.
If the caller's event handler
is not null
and if the commit succeeds, the handler
will be called with SVNEventAction.COMMIT_COMPLETED
event action.
SvnOperation.run()
method returns SVNCommitInfo
information on a new revision as the result of the commit.
SvnOperation.run()
throws SVNException
in the following cases:
SVNErrorCode.RA_ILLEGAL_URL
error code
- if cannot compute common root url for targets
,
targets
can can refer to different repositories
exception with SVNErrorCode.CLIENT_PROPERTY_NAME
error code
- if there is standard Subversion property among revision properties
exception with SVNErrorCode.FS_NOT_FOUND
error code
- if some of the targets
does not exist
exception with SVNErrorCode.RA_ILLEGAL_URL
error code
- if some of the targets
is not within a repository
Constructor Summary | |
---|---|
protected |
SvnRemoteDelete(SvnOperationFactory factory)
|
Method Summary | |
---|---|
protected int |
getMaximumTargetsCount()
|
boolean |
isChangesWorkingCopy()
Gets whether the operation changes working copy |
Methods inherited from class org.tmatesoft.svn.core.wc2.AbstractSvnCommit |
---|
getCommitHandler, getCommitMessage, getRevisionProperties, setCommitHandler, setCommitMessage, setRevisionProperties, setRevisionProperty |
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 SvnRemoteDelete(SvnOperationFactory factory)
Method Detail |
---|
protected int getMaximumTargetsCount()
getMaximumTargetsCount
in class SvnOperation<SVNCommitInfo>
public boolean isChangesWorkingCopy()
isChangesWorkingCopy
in class SvnOperation<SVNCommitInfo>
true
if the operation changes the working copy, otherwise false
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |