com.aragost.javahg.commands
Class Branch

java.lang.Object
  extended by com.aragost.javahg.commands.Branch
All Implemented Interfaces:
Comparable<Branch>

public class Branch
extends Object
implements Comparable<Branch>

Represent a named branch returned by BranchesCommand


Method Summary
 int compareTo(Branch that)
           
static Branch fromLine(Repository repo, String line)
           
 Changeset getBranchTip()
           
 String getName()
           
 boolean isClosed()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

fromLine

public static Branch fromLine(Repository repo,
                              String line)

getBranchTip

public Changeset getBranchTip()

isClosed

public boolean isClosed()

getName

public String getName()

compareTo

public int compareTo(Branch that)
Specified by:
compareTo in interface Comparable<Branch>

toString

public String toString()
Overrides:
toString in class Object


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