|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.statcvs.input.RevisionData
public class RevisionData
Container for all information contained in one CVS revisionNumber
Constructor Summary | |
---|---|
RevisionData()
|
Method Summary | |
---|---|
java.lang.String |
getComment()
|
java.util.Date |
getDate()
|
int |
getLinesAdded()
|
int |
getLinesRemoved()
|
java.lang.String |
getLoginName()
|
java.lang.String |
getRevisionNumber()
|
boolean |
hasNoLines()
Checks if the revision contains numbers for the added and removed lines. |
boolean |
isAddOnSubbranch()
Returns true if this revisionNumber marks the adding of a new file on a subbranch. |
boolean |
isChangeOrRestore()
Returns true if this revisionNumber is a normal change, or if it restores a removed file. |
boolean |
isCreation()
Returns true if this revisionNumber is the creation of a new file. |
boolean |
isDeletion()
Returns true if this revisionNumber is the removal of a file. |
boolean |
isOnTrunk()
Returns true if this revisionNumber is on the main branch. |
boolean |
isStateDead()
Returns true if this is a dead revisionNumber. |
boolean |
isStateExp()
Returns true if this is an Exp revisionNumber. |
void |
setComment(java.lang.String comment)
|
void |
setDate(java.util.Date date)
|
void |
setLines(int added,
int removed)
Sets the number of added and removed lines. |
void |
setLoginName(java.lang.String authorName)
|
void |
setRevisionNumber(java.lang.String revision)
Sets the revision number. |
void |
setStateDead()
|
void |
setStateExp()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RevisionData()
Method Detail |
---|
public java.lang.String getLoginName()
public void setLoginName(java.lang.String authorName)
authorName
- The loginName to set.public java.util.Date getDate()
public void setDate(java.util.Date date)
date
- The date to set.public int getLinesAdded()
public int getLinesRemoved()
public boolean hasNoLines()
public void setLines(int added, int removed)
added
- The number of added linesremoved
- The number of removed linespublic java.lang.String getRevisionNumber()
public void setRevisionNumber(java.lang.String revision)
revision
- The revision numberpublic void setStateDead()
public void setStateExp()
public java.lang.String getComment()
public void setComment(java.lang.String comment)
comment
- The comment to set.public boolean isAddOnSubbranch()
public boolean isDeletion()
isAddOnSubbranch()
public boolean isChangeOrRestore()
public boolean isCreation()
public boolean isOnTrunk()
public boolean isStateExp()
public boolean isStateDead()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |