com.aragost.javahg.commands.flags
Class CatCommandFlags

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

public abstract class CatCommandFlags
extends AbstractCommand


Nested Class Summary
 
Nested classes/interfaces inherited from class com.aragost.javahg.internals.AbstractCommand
AbstractCommand.State
 
Constructor Summary
protected CatCommandFlags(Repository repository)
           
 
Method Summary
 CatCommand decode()
          Set the --decode command line flag.
 CatCommand exclude(String... patterns)
          Set the --exclude command line flag.
 String getCommandName()
           
 CatCommand include(String... patterns)
          Set the --include command line flag.
static CatCommand on(Repository repository)
           
 CatCommand rev(String rev)
          Set the --rev 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

CatCommandFlags

protected CatCommandFlags(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 CatCommand on(Repository repository)

rev

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

Returns:
this instance
See Also:
Mercurial documentation

decode

public CatCommand decode()
Set the --decode command line flag.

Returns:
this instance
See Also:
Mercurial documentation

include

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

Returns:
this instance
See Also:
Mercurial documentation

exclude

public CatCommand 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.