public class CVSEntry
extends java.lang.Object
| Constructor | Description |
|---|---|
CVSEntry(java.util.Date date,
java.lang.String author,
java.lang.String comment) |
Creates a new instance of a CVSEntry
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
addFile(java.lang.String file,
java.lang.String revision) |
Adds a file to the CVSEntry
|
void |
addFile(java.lang.String file,
java.lang.String revision,
java.lang.String previousRevision) |
Adds a file to the CVSEntry
|
java.lang.String |
getAuthor() |
Gets the author of the CVSEntry
|
java.lang.String |
getComment() |
Gets the comment for the CVSEntry
|
java.util.Date |
getDate() |
Gets the date of the CVSEntry
|
java.util.Vector<org.apache.tools.ant.taskdefs.cvslib.RCSFile> |
getFiles() |
Gets the files in this CVSEntry
|
void |
setAuthor(java.lang.String author) |
Sets the author of the CVSEntry
|
java.lang.String |
toString() |
Gets a String containing author, date, files and comment
|
public CVSEntry(java.util.Date date,
java.lang.String author,
java.lang.String comment)
date - the dateauthor - the authorcomment - a comment to be added to the revisionpublic void addFile(java.lang.String file,
java.lang.String revision)
file - the file to addrevision - the revisionpublic void addFile(java.lang.String file,
java.lang.String revision,
java.lang.String previousRevision)
file - the file to addrevision - the revisionpreviousRevision - the previous revisionpublic java.util.Date getDate()
public void setAuthor(java.lang.String author)
author - the authorpublic java.lang.String getAuthor()
public java.lang.String getComment()
public java.util.Vector<org.apache.tools.ant.taskdefs.cvslib.RCSFile> getFiles()
public java.lang.String toString()
toString in class java.lang.Object