public class SvnCleanup extends SvnOperation<java.lang.Void>
Target
should represent working copy path.
If you ever get a "working copy locked" error, use this method to remove
stale locks and get your working copy into a usable state again.
This method operates only on working copies and does not open any network connection.
SvnOperation.run()
method throws SVNException
if one of the following is true:
SVNErrorCode.ILLEGAL_TARGET
error code
- if target
is URL
SVNErrorCode.WC_NOT_WORKING_COPY
error code
- if target
is not under version control
Modifier | Constructor and Description |
---|---|
protected |
SvnCleanup(SvnOperationFactory factory) |
Modifier and Type | Method and Description |
---|---|
boolean |
isChangesWorkingCopy()
Gets whether the operation changes working copy
|
boolean |
isDeleteWCProperties()
Gets whether or not DAV specific
"svn:wc:" properties
should be removed from the working copy |
void |
setDeleteWCProperties(boolean deleteWCProperties)
Sets whether or not DAV specific
"svn:wc:" properties
should be removed from the working copy |
addTarget, cancel, ensureArgumentsAreValid, ensureEnoughTargets, ensureHomohenousTargets, getApplicableChangelists, getAuthenticationManager, getCanceller, getDepth, getEventHandler, getFirstTarget, getMaximumTargetsCount, getMinimumTargetsCount, getOperationalWorkingCopy, getOperationFactory, getOptions, getRepositoryPool, getRevision, getSqliteJournalMode, getTargets, hasFileTargets, hasLocalTargets, hasRemoteTargets, initDefaults, isCancelled, isSleepForTimestamp, isUseParentWcFormat, needsHomohenousTargets, run, setApplicalbeChangelists, setDepth, setRevision, setSingleTarget, setSleepForTimestamp, setSqliteJournalMode
protected SvnCleanup(SvnOperationFactory factory)
public boolean isDeleteWCProperties()
"svn:wc:"
properties
should be removed from the working copytrue
if properties will be removed, otherwise false
public void setDeleteWCProperties(boolean deleteWCProperties)
"svn:wc:"
properties
should be removed from the working copydeleteWCProperties
- true
if properties will be removed, otherwise false
public boolean isChangesWorkingCopy()
isChangesWorkingCopy
in class SvnOperation<java.lang.Void>
true
if the operation changes the working copy, otherwise false
Copyright © 2004-2012 TMate Software Ltd. All Rights Reserved.