com.aragost.javahg.commands
Class AnnotateLine

java.lang.Object
  extended by com.aragost.javahg.commands.AnnotateLine

public class AnnotateLine
extends Object

An annotated line, holding the text of the line and the Changeset that introduced it.


Constructor Summary
AnnotateLine(Changeset changeset, String line)
           
 
Method Summary
 Changeset getChangeset()
           
 Changeset getChangeSet()
          Deprecated. use getChangeset()
 String getLine()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AnnotateLine

public AnnotateLine(Changeset changeset,
                    String line)
Parameters:
changeset - a changeset.
line - a single line of text.
Method Detail

getChangeset

public Changeset getChangeset()
Returns:
the changeset.

getChangeSet

@Deprecated
public Changeset getChangeSet()
Deprecated. use getChangeset()

Returns:

getLine

public String getLine()
Returns:
the line of text.

toString

public String toString()
Overrides:
toString in class Object


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