com.aragost.javahg.commands
Class RootCommand
java.lang.Object
com.aragost.javahg.internals.AbstractCommand
com.aragost.javahg.commands.flags.RootCommandFlags
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.
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 |
RootCommand
public RootCommand(Repository repository)
- Parameters:
repository
- the repository associated with this command.
execute
public String execute()
- Returns:
- the root of the repository
Copyright © 2011-2013 aragost Trifork ag. All Rights Reserved.