com.aragost.javahg.commands
Class BranchesCommand

java.lang.Object
  extended by com.aragost.javahg.internals.AbstractCommand
      extended by com.aragost.javahg.commands.flags.BranchesCommandFlags
          extended by com.aragost.javahg.commands.BranchesCommand

public class BranchesCommand
extends BranchesCommandFlags

Command class for executing hg branches. Set flags from BranchesCommandFlags and see the execute() method for how to run the command.

This class wont be able to parse the branch names correctly if they contain newline characters (Mercurial will unfortunately let you create such branch names).


Nested Class Summary
 
Nested classes/interfaces inherited from class com.aragost.javahg.internals.AbstractCommand
AbstractCommand.State
 
Constructor Summary
BranchesCommand(Repository repository)
           
 
Method Summary
 List<Branch> execute()
           
 
Methods inherited from class com.aragost.javahg.commands.flags.BranchesCommandFlags
active, closed, getCommandName, on
 
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

BranchesCommand

public BranchesCommand(Repository repository)
Method Detail

execute

public List<Branch> execute()
Returns:
list of branches for the repository


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