Interface VcsRevert
-
- All Superinterfaces:
FileOperation
public interface VcsRevert extends FileOperation
Restores pristine working copy file and cancels all local modifications. In other words, VcsRevert replaces working copy file with the latest version from the repository.- Since:
- 0.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddModifyListener(VcsModifyListener listener)Add a modify listener.voidremoveModifyListener(VcsModifyListener listener)Removes a modify listener.voidsetRecursive(boolean recursive)Sets whether children should be processed.-
Methods inherited from interface org.apache.commons.vfs2.operations.FileOperation
process
-
-
-
-
Method Detail
-
addModifyListener
void addModifyListener(VcsModifyListener listener)
Add a modify listener.- Parameters:
listener- The Listener to add.
-
removeModifyListener
void removeModifyListener(VcsModifyListener listener)
Removes a modify listener.- Parameters:
listener- The Listener to remove.
-
setRecursive
void setRecursive(boolean recursive)
Sets whether children should be processed.- Parameters:
recursive- true if children should be processed.
-
-