Class CVSEntry
java.lang.Object
org.apache.tools.ant.taskdefs.cvslib.CVSEntry
CVS Entry.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds a file to the CVSEntryvoid
Adds a file to the CVSEntryGets the author of the CVSEntryGets the comment for the CVSEntrygetDate()
Gets the date of the CVSEntryVector<org.apache.tools.ant.taskdefs.cvslib.RCSFile>
getFiles()
Gets the files in this CVSEntryvoid
Sets the author of the CVSEntrytoString()
Gets a String containing author, date, files and comment
-
Constructor Details
-
CVSEntry
Creates a new instance of a CVSEntry- Parameters:
date
- the dateauthor
- the authorcomment
- a comment to be added to the revision
-
-
Method Details
-
addFile
Adds a file to the CVSEntry- Parameters:
file
- the file to addrevision
- the revision
-
addFile
Adds a file to the CVSEntry- Parameters:
file
- the file to addrevision
- the revisionpreviousRevision
- the previous revision
-
getDate
Gets the date of the CVSEntry- Returns:
- the date
-
setAuthor
Sets the author of the CVSEntry- Parameters:
author
- the author
-
getAuthor
Gets the author of the CVSEntry- Returns:
- the author
-
getComment
Gets the comment for the CVSEntry- Returns:
- the comment
-
getFiles
Gets the files in this CVSEntry- Returns:
- the files
-
toString
Gets a String containing author, date, files and comment
-