com.aragost.javahg.commands.flags
Class StatusCommandFlags

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

public abstract class StatusCommandFlags
extends AbstractCommand


Nested Class Summary
 
Nested classes/interfaces inherited from class com.aragost.javahg.internals.AbstractCommand
AbstractCommand.State
 
Constructor Summary
protected StatusCommandFlags(Repository repository)
           
 
Method Summary
 StatusCommand added()
          Set the --added command line flag.
 StatusCommand all()
          Set the --all command line flag.
 StatusCommand change(String rev)
          Set the --change command line flag.
 StatusCommand clean()
          Set the --clean command line flag.
 StatusCommand copies()
          Set the --copies command line flag.
 StatusCommand deleted()
          Set the --deleted command line flag.
 StatusCommand exclude(String... patterns)
          Set the --exclude command line flag.
 String getCommandName()
           
 StatusCommand ignored()
          Set the --ignored command line flag.
 StatusCommand include(String... patterns)
          Set the --include command line flag.
 StatusCommand modified()
          Set the --modified command line flag.
static StatusCommand on(Repository repository)
           
 StatusCommand removed()
          Set the --removed command line flag.
 StatusCommand rev(String... revs)
          Set the --rev command line flag.
 StatusCommand unknown()
          Set the --unknown 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

StatusCommandFlags

protected StatusCommandFlags(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 StatusCommand on(Repository repository)

all

public StatusCommand all()
Set the --all command line flag.

Returns:
this instance
See Also:
Mercurial documentation

modified

public StatusCommand modified()
Set the --modified command line flag.

Returns:
this instance
See Also:
Mercurial documentation

added

public StatusCommand added()
Set the --added command line flag.

Returns:
this instance
See Also:
Mercurial documentation

removed

public StatusCommand removed()
Set the --removed command line flag.

Returns:
this instance
See Also:
Mercurial documentation

deleted

public StatusCommand deleted()
Set the --deleted command line flag.

Returns:
this instance
See Also:
Mercurial documentation

clean

public StatusCommand clean()
Set the --clean command line flag.

Returns:
this instance
See Also:
Mercurial documentation

unknown

public StatusCommand unknown()
Set the --unknown command line flag.

Returns:
this instance
See Also:
Mercurial documentation

ignored

public StatusCommand ignored()
Set the --ignored command line flag.

Returns:
this instance
See Also:
Mercurial documentation

copies

public StatusCommand copies()
Set the --copies command line flag.

Returns:
this instance
See Also:
Mercurial documentation

rev

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

Returns:
this instance
See Also:
Mercurial documentation

change

public StatusCommand change(String rev)
Set the --change command line flag.

Returns:
this instance
See Also:
Mercurial documentation

include

public StatusCommand include(String... patterns)
Set the --include command line flag.

Returns:
this instance
See Also:
Mercurial documentation

exclude

public StatusCommand exclude(String... patterns)
Set the --exclude command line flag.

Returns:
this instance
See Also:
Mercurial documentation


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