ISvnOperationOptionsProviderpublic class SvnScheduleForRemoval extends SvnOperation<java.lang.Void>
targets for deletion.
This operation allows to choose
whether file item(s) are to be deleted from the filesystem or not, it is controlled by deleteFiles.
This method deletes only local working copy paths without connecting to
the repository.
Targets that are, or contain, unversioned or modified items will
not be removed unless the force and deleteFiles is true.| Modifier | Constructor | Description |
|---|---|---|
protected |
SvnScheduleForRemoval(SvnOperationFactory factory) |
| Modifier and Type | Method | Description |
|---|---|---|
protected int |
getMaximumTargetsCount() |
|
protected void |
initDefaults() |
|
boolean |
isChangesWorkingCopy() |
Gets whether the operation changes working copy
|
boolean |
isDeleteFiles() |
Returns whether files should be scheduled for deletion as well as deleted from the filesystem,
or files should be only scheduled for addition and still be present in the filesystem.
|
boolean |
isDryRun() |
Returns whether to check the possibility of delete operation without actual deleting
|
boolean |
isForce() |
Returns whether to force operation on unversioned or modified items.
|
void |
setDeleteFiles(boolean deleteFiles) |
Sets whether files should be scheduled for deletion as well as deleted from the filesystem,
or files should be only scheduled for addition and still be present in the filesystem.
|
void |
setDryRun(boolean dryRun) |
Sets whether to check the possibility of delete operation without actual deleting
|
void |
setForce(boolean force) |
Sets whether to force operation on unversioned or modified items.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddTarget, 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 SvnScheduleForRemoval(SvnOperationFactory factory)
public boolean isForce()
true if the operation should be forced on unversioned or modified itemspublic void setForce(boolean force)
force - true if the operation should be forced on unversioned or modified itemspublic boolean isDryRun()
true the possibility of delete operation should be checked without actual deleting, otherwise falsepublic void setDryRun(boolean dryRun)
dryRun - true the possibility of delete operation should be checked without actual deleting, otherwise falsepublic void setDeleteFiles(boolean deleteFiles)
deleteFiles - true if files should be deleted on filesystem, otherwise false.public boolean isDeleteFiles()
true if files should be deleted on filesystem, otherwise false.protected void initDefaults()
initDefaults in class SvnOperation<java.lang.Void>protected int getMaximumTargetsCount()
getMaximumTargetsCount in class SvnOperation<java.lang.Void>public boolean isChangesWorkingCopy()
isChangesWorkingCopy in class SvnOperation<java.lang.Void>true if the operation changes the working copy, otherwise false