|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.sf.bloof.scm.cvsplugin.Revision
Container class for a Revision of a CVS controlled file
Constructor Summary | |
Revision()
|
Method Summary | |
int |
getAdded()
Returns the numer of lines added in this revision |
java.lang.String |
getAuthor()
Returns the login of the Author if this revision |
java.lang.String |
getComment()
Returns the comment of the author to this revision |
java.util.Date |
getDate()
Returns the Date when the revision was checked in into the SCM |
java.lang.String |
getFileName()
Returns the filename of the file according to this revision |
FileState |
getFileState()
Returns the state of the File at the moment of this revision |
java.lang.String |
getPath()
Returns the path of the file according to this revision |
java.lang.String |
getQualifiedFilename()
Returns a qualified file name ( including the path ) of the file according to this revision |
int |
getRemoved()
Returns the numer of lines removed in this revision |
java.lang.String |
getRevisionName()
Returns the identifier of this revision |
void |
setAdded(int aAdded)
Sets the added lines |
void |
setAuthor(java.lang.String aAuthor)
Sets the author. |
void |
setComment(java.lang.String aComment)
Sets the Comment |
void |
setDate(java.util.Date aDate)
Sets the date. |
void |
setFileName(java.lang.String aFileName)
Sets the fileName. |
void |
setFileState(FileState aFileState)
Sets the state of the file at the moment of this revision |
void |
setPath(java.lang.String aPath)
Sets the path. |
void |
setRemoved(int aRemoved)
Sets the removed. |
void |
setRevisionName(java.lang.String aRevisionName)
Sets the revisionName. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Revision()
Method Detail |
public int getAdded()
ScmRevision
getAdded
in interface ScmRevision
ScmRevision.getAdded( )
public java.lang.String getAuthor()
ScmRevision
getAuthor
in interface ScmRevision
ScmRevision.getAuthor( )
public java.lang.String getComment()
ScmRevision
getComment
in interface ScmRevision
ScmRevision.getComment( )
public java.util.Date getDate()
ScmRevision
getDate
in interface ScmRevision
ScmRevision.getDate( )
public java.lang.String getFileName()
ScmRevision
getFileName
in interface ScmRevision
ScmRevision.getFileName( )
public FileState getFileState()
ScmRevision
getFileState
in interface ScmRevision
ScmRevision.getFileState( )
public java.lang.String getPath()
ScmRevision
getPath
in interface ScmRevision
ScmRevision.getPath( )
public java.lang.String getQualifiedFilename()
ScmRevision
getQualifiedFilename
in interface ScmRevision
ScmRevision.getQualifiedFilename( )
public int getRemoved()
ScmRevision
getRemoved
in interface ScmRevision
ScmRevision.getRemoved( )
public java.lang.String getRevisionName()
ScmRevision
getRevisionName
in interface ScmRevision
ScmRevision.getRevisionName( )
public void setAdded(int aAdded)
aAdded
- linespublic void setAuthor(java.lang.String aAuthor)
aAuthor
- The author to setpublic void setComment(java.lang.String aComment)
aComment
- The comment to setpublic void setDate(java.util.Date aDate)
aDate
- The date to setpublic void setFileName(java.lang.String aFileName)
aFileName
- The fileName to setpublic void setFileState(FileState aFileState)
aFileState
- the state of the file at the moment of this revisionpublic void setPath(java.lang.String aPath)
aPath
- The path to setpublic void setRemoved(int aRemoved)
aRemoved
- The removed to setpublic void setRevisionName(java.lang.String aRevisionName)
aRevisionName
- The revisionName to setpublic java.lang.String toString()
toString
in class java.lang.Object
Object.toString( )
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |