public class SvnRemoteDelete extends AbstractSvnCommit
targets 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
| Modifier | Constructor and Description |
|---|---|
protected |
SvnRemoteDelete(SvnOperationFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
getMaximumTargetsCount() |
boolean |
isChangesWorkingCopy()
Gets whether the operation changes working copy
|
getCommitHandler, getCommitMessage, getRevisionProperties, setCommitHandler, setCommitMessage, setRevisionProperties, setRevisionPropertyfirst, getReceiver, initDefaults, last, receive, run, setReceiveraddTarget, cancel, ensureArgumentsAreValid, ensureEnoughTargets, ensureHomohenousTargets, getApplicableChangelists, getAuthenticationManager, getCanceller, getDepth, getEventHandler, getFirstTarget, getMinimumTargetsCount, getOperationalWorkingCopy, getOperationFactory, getOptions, getRepositoryPool, getRevision, getSqliteJournalMode, getTargets, hasFileTargets, hasLocalTargets, hasRemoteTargets, isCancelled, isSleepForTimestamp, isUseParentWcFormat, needsHomohenousTargets, run, setApplicalbeChangelists, setDepth, setRevision, setSingleTarget, setSleepForTimestamp, setSqliteJournalModeprotected SvnRemoteDelete(SvnOperationFactory factory)
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