com.aragost.javahg.commands.flags
Class ExportCommandFlags

java.lang.Object
  extended by com.aragost.javahg.internals.AbstractCommand
      extended by com.aragost.javahg.commands.flags.ExportCommandFlags
Direct Known Subclasses:
ExportCommand

public abstract class ExportCommandFlags
extends AbstractCommand


Nested Class Summary
 
Nested classes/interfaces inherited from class com.aragost.javahg.internals.AbstractCommand
AbstractCommand.State
 
Constructor Summary
protected ExportCommandFlags(Repository repository)
           
 
Method Summary
 String getCommandName()
           
 ExportCommand nodates()
          Set the --nodates command line flag.
static ExportCommand on(Repository repository)
           
 ExportCommand rev(String... revs)
          Set the --rev command line flag.
 ExportCommand switchParent()
          Set the --switch-parent command line flag.
 
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

ExportCommandFlags

protected ExportCommandFlags(Repository repository)
Method Detail

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 ExportCommand on(Repository repository)

switchParent

public ExportCommand switchParent()
Set the --switch-parent command line flag.

Returns:
this instance
See Also:
Mercurial documentation

rev

public ExportCommand rev(String... revs)
Set the --rev command line flag.

Returns:
this instance
See Also:
Mercurial documentation

nodates

public ExportCommand nodates()
Set the --nodates command line flag.

Returns:
this instance
See Also:
Mercurial documentation


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