org.tmatesoft.svn.core.wc2
Class SvnRemoteDelete

java.lang.Object
  extended by org.tmatesoft.svn.core.wc2.SvnOperation<T>
      extended by org.tmatesoft.svn.core.wc2.SvnReceivingOperation<SVNCommitInfo>
          extended by org.tmatesoft.svn.core.wc2.AbstractSvnCommit
              extended by org.tmatesoft.svn.core.wc2.SvnRemoteDelete
All Implemented Interfaces:
ISvnObjectReceiver<SVNCommitInfo>, ISvnOperationOptionsProvider

public class SvnRemoteDelete
extends AbstractSvnCommit

Represents delete operation. Deletes items from a repository.

All 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:


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 org.tmatesoft.svn.core.wc2.SvnOperation
addTarget, cancel, ensureArgumentsAreValid, ensureEnoughTargets, ensureHomohenousTargets, getApplicableChangelists, getAuthenticationManager, getCanceller, getDepth, getEventHandler, getFirstTarget, getMinimumTargetsCount, getOperationalWorkingCopy, getOperationFactory, getOptions, getRepositoryPool, getRevision, getTargets, hasFileTargets, hasLocalTargets, hasRemoteTargets, isCancelled, isSleepForTimestamp, isUseParentWcFormat, needsHomohenousTargets, run, setApplicalbeChangelists, setDepth, setRevision, setSingleTarget, setSleepForTimestamp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SvnRemoteDelete

protected SvnRemoteDelete(SvnOperationFactory factory)
Method Detail

getMaximumTargetsCount

protected int getMaximumTargetsCount()
Overrides:
getMaximumTargetsCount in class SvnOperation<SVNCommitInfo>

isChangesWorkingCopy

public boolean isChangesWorkingCopy()
Gets whether the operation changes working copy

Overrides:
isChangesWorkingCopy in class SvnOperation<SVNCommitInfo>
Returns:
true if the operation changes the working copy, otherwise false