com.aragost.javahg.commands
Class RootCommand

java.lang.Object
  extended by com.aragost.javahg.internals.AbstractCommand
      extended by com.aragost.javahg.commands.flags.RootCommandFlags
          extended by com.aragost.javahg.commands.RootCommand

public class RootCommand
extends RootCommandFlags

Command class for executing hg root. Set flags from RootCommandFlags and call the execute() method.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.aragost.javahg.internals.AbstractCommand
AbstractCommand.State
 
Constructor Summary
RootCommand(Repository repository)
           
 
Method Summary
 String execute()
           
 
Methods inherited from class com.aragost.javahg.commands.flags.RootCommandFlags
getCommandName, on
 
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

RootCommand

public RootCommand(Repository repository)
Parameters:
repository - the repository associated with this command.
Method Detail

execute

public String execute()
Returns:
the root of the repository


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