|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.starbase.starteam.LogLine
|
+--com.starbase.starteam.HistoryLine
A class containing information specific to a single version entry
for expansion of the $History$ keyword.
| Constructor Summary | |
HistoryLine(int version,
java.lang.String viewName,
java.lang.String dotNotation,
OLEDate date,
java.lang.String author,
java.lang.String comment)
Creates new information for a single $History keyword entry. |
|
| Method Summary | |
boolean |
equals(java.lang.Object source)
returns true if this object instance is equal to the source |
java.lang.String |
format(java.lang.String prefix,
java.lang.String eol)
Format and return a revision history record consisiting of the prefix, view name, dot notation, utc date, author and comment |
int |
hashCode()
returns a unique hash for all instances of this type |
java.lang.String |
toXMLString()
Returns an XML representation of the log line entry. |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public HistoryLine(int version,
java.lang.String viewName,
java.lang.String dotNotation,
OLEDate date,
java.lang.String author,
java.lang.String comment)
$History keyword entry.
Each revision of a file will have its own HistoryLine.
version - the version number for the revisionviewName - the name of the view in which the revision was createddotNotation - the dot notation for the revision (for example "1.2.3.0")date - the time at which the revision was created, in UTCauthor - the name of the author of the revisioncomment - the check-in comment for the revision| Method Detail |
public java.lang.String format(java.lang.String prefix,
java.lang.String eol)
prefix - String the prefix to pre-pend to each history line, for instance '//' to signify a commenteol - String the platform specific eol character; e.g. 'CR', 'LF' or 'CRLF'
public java.lang.String toXMLString()
<logline>
<version>1</version>
<view>Main</view>
<dotnotation>1.0</dotnotation>
<date>2000-08-11T17:37:18Z</date>
<author>Bob</author>
<comment></comment>
</logline>
toXMLString in class LogLinepublic boolean equals(java.lang.Object source)
equals in class LogLinesource - Object the source to comapre with
public int hashCode()
hashCode in class LogLine
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||