com.aragost.javahg.commands
Class RevertCommand

java.lang.Object
  extended by com.aragost.javahg.internals.AbstractCommand
      extended by com.aragost.javahg.commands.flags.RevertCommandFlags
          extended by com.aragost.javahg.commands.RevertCommand

public class RevertCommand
extends RevertCommandFlags


Nested Class Summary
 
Nested classes/interfaces inherited from class com.aragost.javahg.internals.AbstractCommand
AbstractCommand.State
 
Constructor Summary
RevertCommand(Repository repository)
           
 
Method Summary
 void execute()
          Execute with no files.
 void execute(File... files)
           
 void execute(String... files)
           
 
Methods inherited from class com.aragost.javahg.commands.flags.RevertCommandFlags
all, date, exclude, getCommandName, include, noBackup, on, rev
 
Methods inherited from class com.aragost.javahg.internals.AbstractCommand
cancel, clear, cmdAppend, cmdAppend, cmdAppend, cmdAppend, cmdAppend, doneHook, getErrorString, getRepository, getReturnCode, isSuccessful, launchIterator, launchStream, launchString, needsInputLine, reopenOutputChannelStream, sendLine, toString, withDebugAndChangesetStyle, withDebugFlag
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RevertCommand

public RevertCommand(Repository repository)
Method Detail

execute

public void execute()
Execute with no files. Should be used with RevertCommandFlags.all()


execute

public void execute(String... files)
Parameters:
files - the files to revert.

execute

public void execute(File... files)
Parameters:
files - the files to revert.


Copyright © 2011-2013 aragost Trifork ag. All Rights Reserved.