com.aragost.javahg.commands.flags
Class ImportCommandFlags

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

public abstract class ImportCommandFlags
extends AbstractCommand


Nested Class Summary
 
Nested classes/interfaces inherited from class com.aragost.javahg.internals.AbstractCommand
AbstractCommand.State
 
Constructor Summary
protected ImportCommandFlags(Repository repository)
           
 
Method Summary
 ImportCommand base(String path)
          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.
 ImportCommand bypass()
          Set the --bypass command line flag.
 ImportCommand date(String date)
          Set the --date command line flag.
 ImportCommand exact()
          Set the --exact command line flag.
 ImportCommand force()
          Set the --force command line flag.
 String getCommandName()
           
 ImportCommand importBranch()
          Set the --import-branch command line flag.
 ImportCommand message(String text)
          Set the --message command line flag.
 ImportCommand noCommit()
          Set the --no-commit command line flag.
static ImportCommand on(Repository repository)
           
 ImportCommand similarity(String similarity)
          Set the --similarity command line flag.
 ImportCommand user(String user)
          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

ImportCommandFlags

protected ImportCommandFlags(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 ImportCommand on(Repository repository)

base

@Deprecated
public ImportCommand base(String path)
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 --base command line flag.

Returns:
this instance
See Also:
Mercurial documentation

force

public ImportCommand force()
Set the --force command line flag.

Returns:
this instance
See Also:
Mercurial documentation

noCommit

public ImportCommand noCommit()
Set the --no-commit command line flag.

Returns:
this instance
See Also:
Mercurial documentation

bypass

public ImportCommand bypass()
Set the --bypass command line flag.

Returns:
this instance
See Also:
Mercurial documentation

exact

public ImportCommand exact()
Set the --exact command line flag.

Returns:
this instance
See Also:
Mercurial documentation

importBranch

public ImportCommand importBranch()
Set the --import-branch command line flag.

Returns:
this instance
See Also:
Mercurial documentation

message

public ImportCommand message(String text)
Set the --message command line flag.

Returns:
this instance
See Also:
Mercurial documentation

date

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

Returns:
this instance
See Also:
Mercurial documentation

user

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

Returns:
this instance
See Also:
Mercurial documentation

similarity

public ImportCommand similarity(String similarity)
Set the --similarity command line flag.

Returns:
this instance
See Also:
Mercurial documentation


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