com.aragost.javahg.commands.flags
Class DiffCommandFlags

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

public abstract class DiffCommandFlags
extends AbstractCommand


Nested Class Summary
 
Nested classes/interfaces inherited from class com.aragost.javahg.internals.AbstractCommand
AbstractCommand.State
 
Constructor Summary
protected DiffCommandFlags(Repository repository)
           
 
Method Summary
 DiffCommand change(String rev)
          Set the --change command line flag.
 DiffCommand exclude(String... patterns)
          Set the --exclude command line flag.
 String getCommandName()
           
 DiffCommand ignoreAllSpace()
          Set the --ignore-all-space command line flag.
 DiffCommand ignoreBlankLines()
          Set the --ignore-blank-lines command line flag.
 DiffCommand ignoreSpaceChange()
          Set the --ignore-space-change command line flag.
 DiffCommand include(String... patterns)
          Set the --include command line flag.
 DiffCommand nodates()
          Set the --nodates command line flag.
static DiffCommand on(Repository repository)
           
 DiffCommand rev(String... revs)
          Set the --rev command line flag.
 DiffCommand reverse()
          Set the --reverse command line flag.
 DiffCommand showFunction()
          Set the --show-function command line flag.
 DiffCommand stat()
          Set the --stat command line flag.
 DiffCommand unified(int num)
          Set the --unified 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

DiffCommandFlags

protected DiffCommandFlags(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 DiffCommand on(Repository repository)

rev

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

Returns:
this instance
See Also:
Mercurial documentation

change

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

Returns:
this instance
See Also:
Mercurial documentation

nodates

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

Returns:
this instance
See Also:
Mercurial documentation

showFunction

public DiffCommand showFunction()
Set the --show-function command line flag.

Returns:
this instance
See Also:
Mercurial documentation

reverse

public DiffCommand reverse()
Set the --reverse command line flag.

Returns:
this instance
See Also:
Mercurial documentation

ignoreAllSpace

public DiffCommand ignoreAllSpace()
Set the --ignore-all-space command line flag.

Returns:
this instance
See Also:
Mercurial documentation

ignoreSpaceChange

public DiffCommand ignoreSpaceChange()
Set the --ignore-space-change command line flag.

Returns:
this instance
See Also:
Mercurial documentation

ignoreBlankLines

public DiffCommand ignoreBlankLines()
Set the --ignore-blank-lines command line flag.

Returns:
this instance
See Also:
Mercurial documentation

unified

public DiffCommand unified(int num)
Set the --unified command line flag.

Returns:
this instance
See Also:
Mercurial documentation

stat

public DiffCommand stat()
Set the --stat command line flag.

Returns:
this instance
See Also:
Mercurial documentation

include

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

Returns:
this instance
See Also:
Mercurial documentation

exclude

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