|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.tmatesoft.svn.core.wc2.SvnOperation<java.lang.Void> org.tmatesoft.svn.core.wc2.SvnScheduleForRemoval
public class SvnScheduleForRemoval
Represents remove operation.
Schedules the working copy targets
for deletion.
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
.
Constructor Summary | |
---|---|
protected |
SvnScheduleForRemoval(SvnOperationFactory factory)
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected SvnScheduleForRemoval(SvnOperationFactory factory)
Method Detail |
---|
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |