ISvnOperationOptionsProviderpublic 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 | Description |
|---|---|---|
protected |
SvnCleanup(SvnOperationFactory factory) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
isBreakLocks() |
|
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 |
boolean |
isIncludeExternals() |
|
boolean |
isRemoveIgnoredItems() |
|
boolean |
isRemoveUnversionedItems() |
|
boolean |
isVacuumPristines() |
|
void |
setBreakLocks(boolean breakLocks) |
|
void |
setDeleteWCProperties(boolean deleteWCProperties) |
Sets whether or not DAV specific
"svn:wc:" properties
should be removed from the working copy |
void |
setIncludeExternals(boolean includeExternals) |
|
void |
setRemoveIgnoredItems(boolean removeIgnoredItems) |
|
void |
setRemoveUnversionedItems(boolean removeUnversionedItems) |
|
void |
setVacuumPristines(boolean vacuumPristines) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddTarget, 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, setSqliteJournalModeprotected SvnCleanup(SvnOperationFactory factory)
public boolean isDeleteWCProperties()
"svn:wc:" properties
should be removed from the working copytrue if properties will be removed, otherwise falsepublic void setDeleteWCProperties(boolean deleteWCProperties)
"svn:wc:" properties
should be removed from the working copydeleteWCProperties - true if properties will be removed, otherwise falsepublic boolean isVacuumPristines()
public void setVacuumPristines(boolean vacuumPristines)
public boolean isRemoveUnversionedItems()
public void setRemoveUnversionedItems(boolean removeUnversionedItems)
public boolean isRemoveIgnoredItems()
public void setRemoveIgnoredItems(boolean removeIgnoredItems)
public boolean isIncludeExternals()
public void setIncludeExternals(boolean includeExternals)
public void setBreakLocks(boolean breakLocks)
public boolean isBreakLocks()
public boolean isChangesWorkingCopy()
isChangesWorkingCopy in class SvnOperation<java.lang.Void>true if the operation changes the working copy, otherwise false