org.apache.commons.vfs.operations.vcs
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
Author:
Siarhei Baidun

Method Summary
 void addModifyListener(VcsModifyListener listener)
           
 void removeModifyListener(VcsModifyListener listener)
           
 void setRecursive(boolean recursive)
           
 
Methods inherited from interface org.apache.commons.vfs.operations.FileOperation
process
 

Method Detail

setRecursive

void setRecursive(boolean recursive)
Parameters:
recursive - true if children should be processed.

addModifyListener

void addModifyListener(VcsModifyListener listener)
Parameters:
listener - The Listener to add.

removeModifyListener

void removeModifyListener(VcsModifyListener listener)
Parameters:
listener - The Listener to remove.


Copyright © 2002-2009 Apache Software Foundation. All Rights Reserved.