Interface VcsRevert
- All Superinterfaces:
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
Modifier and TypeMethodDescriptionvoidaddModifyListener(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 Details
-
addModifyListener
Add a modify listener.- Parameters:
listener- The Listener to add.
-
removeModifyListener
Removes a modify listener.- Parameters:
listener- The Listener to remove.
-
setRecursive
Sets whether children should be processed.- Parameters:
recursive- true if children should be processed.
-