com.aragost.javahg.commands.flags
Class LogCommandFlags

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

public abstract class LogCommandFlags
extends AbstractCommand


Nested Class Summary
 
Nested classes/interfaces inherited from class com.aragost.javahg.internals.AbstractCommand
AbstractCommand.State
 
Constructor Summary
protected LogCommandFlags(Repository repository)
           
 
Method Summary
 LogCommand branch(String... branches)
          Set the --branch command line flag.
 LogCommand copies()
          Set the --copies command line flag.
 LogCommand date(String date)
          Set the --date command line flag.
 LogCommand exclude(String... patterns)
          Set the --exclude command line flag.
 LogCommand follow()
          Set the --follow command line flag.
 LogCommand followFirst()
          Deprecated. Using this flag has been deprecated in Mercurial. The flag wont go away, but there will typically be a better way to express the same thing.
 String getCommandName()
           
 LogCommand hidden()
          Deprecated. Using this flag has been deprecated in Mercurial. The flag wont go away, but there will typically be a better way to express the same thing.
 LogCommand include(String... patterns)
          Set the --include command line flag.
 LogCommand keyword(String... texts)
          Set the --keyword command line flag.
 LogCommand limit(int num)
          Set the --limit command line flag.
 LogCommand noMerges()
          Set the --no-merges command line flag.
static LogCommand on(Repository repository)
           
 LogCommand onlyBranch(String... branches)
          Deprecated. Using this flag has been deprecated in Mercurial. The flag wont go away, but there will typically be a better way to express the same thing.
 LogCommand onlyMerges()
          Deprecated. Using this flag has been deprecated in Mercurial. The flag wont go away, but there will typically be a better way to express the same thing.
 LogCommand prune(String... revs)
          Set the --prune command line flag.
 LogCommand removed()
          Set the --removed command line flag.
 LogCommand rev(String... revs)
          Set the --rev command line flag.
 LogCommand user(String... users)
          Set the --user 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

LogCommandFlags

protected LogCommandFlags(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 LogCommand on(Repository repository)

follow

public LogCommand follow()
Set the --follow command line flag.

Returns:
this instance
See Also:
Mercurial documentation

followFirst

@Deprecated
public LogCommand followFirst()
Deprecated. Using this flag has been deprecated in Mercurial. The flag wont go away, but there will typically be a better way to express the same thing.

Set the --follow-first command line flag.

Returns:
this instance
See Also:
Mercurial documentation

date

public LogCommand date(String date)
Set the --date command line flag.

Returns:
this instance
See Also:
Mercurial documentation

copies

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

Returns:
this instance
See Also:
Mercurial documentation

keyword

public LogCommand keyword(String... texts)
Set the --keyword command line flag.

Returns:
this instance
See Also:
Mercurial documentation

rev

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

Returns:
this instance
See Also:
Mercurial documentation

removed

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

Returns:
this instance
See Also:
Mercurial documentation

onlyMerges

@Deprecated
public LogCommand onlyMerges()
Deprecated. Using this flag has been deprecated in Mercurial. The flag wont go away, but there will typically be a better way to express the same thing.

Set the --only-merges command line flag.

Returns:
this instance
See Also:
Mercurial documentation

user

public LogCommand user(String... users)
Set the --user command line flag.

Returns:
this instance
See Also:
Mercurial documentation

onlyBranch

@Deprecated
public LogCommand onlyBranch(String... branches)
Deprecated. Using this flag has been deprecated in Mercurial. The flag wont go away, but there will typically be a better way to express the same thing.

Set the --only-branch command line flag.

Returns:
this instance
See Also:
Mercurial documentation

branch

public LogCommand branch(String... branches)
Set the --branch command line flag.

Returns:
this instance
See Also:
Mercurial documentation

prune

public LogCommand prune(String... revs)
Set the --prune command line flag.

Returns:
this instance
See Also:
Mercurial documentation

hidden

@Deprecated
public LogCommand hidden()
Deprecated. Using this flag has been deprecated in Mercurial. The flag wont go away, but there will typically be a better way to express the same thing.

Set the --hidden command line flag.

Returns:
this instance
See Also:
Mercurial documentation

limit

public LogCommand limit(int num)
Set the --limit command line flag.

Returns:
this instance
See Also:
Mercurial documentation

noMerges

public LogCommand noMerges()
Set the --no-merges command line flag.

Returns:
this instance
See Also:
Mercurial documentation

include

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

Returns:
this instance
See Also:
Mercurial documentation

exclude

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