com.aragost.javahg.commands.flags
Class PhaseCommandFlags
java.lang.Object
com.aragost.javahg.internals.AbstractCommand
com.aragost.javahg.commands.flags.PhaseCommandFlags
- Direct Known Subclasses:
- PhaseCommand
public abstract class PhaseCommandFlags
- extends AbstractCommand
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 |
PhaseCommandFlags
protected PhaseCommandFlags(Repository repository)
getCommandName
public final String getCommandName()
- Specified by:
getCommandName
in class AbstractCommand
- Returns:
- the name of this Mercurial command, i.e., "add", "log",
etc
on
public static PhaseCommand on(Repository repository)
draft
public PhaseCommand draft()
- Set the --draft command line flag.
- Returns:
- this instance
- See Also:
- Mercurial
documentation
secret
public PhaseCommand secret()
- Set the --secret command line flag.
- Returns:
- this instance
- See Also:
- Mercurial
documentation
force
public PhaseCommand force()
- Set the --force command line flag.
- Returns:
- this instance
- See Also:
- Mercurial
documentation
rev
public PhaseCommand rev(String... revs)
- Set the --rev command line flag.
- Returns:
- this instance
- See Also:
- Mercurial
documentation
Copyright © 2011-2013 aragost Trifork ag. All Rights Reserved.