org.acmsl.antmake
Class CvsEntry

java.lang.Object
  |
  +--org.acmsl.antmake.CvsEntry

public class CvsEntry
extends java.lang.Object

Models CVS entries.

Version:
$Revision: 1.8 $
Author:
Jose San Leandro, based on Jeff Martin and Peter Donald's CVSEntry. It's package-protected, so it had to be basically copied and pasted.
See Also:
org.apache.tools.ant.taskdefs.cvslib.CVSEntry

Constructor Summary
CvsEntry(java.util.Date date, java.lang.String author, java.lang.String comment)
          Creates a CvsEntry with given information.
 
Method Summary
 void add(RcsFile rcsFile)
          Adds a new RCS file.
 void add(java.lang.String name, java.lang.String revision)
          Adds a new file.
 void add(java.lang.String name, java.lang.String revision, java.lang.String previousRevision)
          Adds a new file.
 java.lang.String getAuthor()
          Retrieves the author.
 java.lang.String getComment()
          Retrieves the comment.
 java.util.Date getDate()
          Retrieves the date.
 java.util.Collection getRcsFiles()
          Retrieves the file collection.
protected  void setAuthor(java.lang.String author)
          Specifies the author.
protected  void setComment(java.lang.String comment)
          Specifies the comment.
protected  void setDate(java.util.Date date)
          Specifies the date.
protected  void setRcsFiles(java.util.Collection collection)
          Specifies the file collection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CvsEntry

public CvsEntry(java.util.Date date,
                java.lang.String author,
                java.lang.String comment)
Creates a CvsEntry with given information.

Parameters:
date - the date.
author - the author.
comment - the comment.
Method Detail

setDate

protected void setDate(java.util.Date date)
Specifies the date.

Parameters:
date - the date.

getDate

public java.util.Date getDate()
Retrieves the date.

Returns:
such information.

setAuthor

protected void setAuthor(java.lang.String author)
Specifies the author.

Parameters:
author - the author.

getAuthor

public java.lang.String getAuthor()
Retrieves the author.

Returns:
such information.

setComment

protected void setComment(java.lang.String comment)
Specifies the comment.

Parameters:
comment - the comment.

getComment

public java.lang.String getComment()
Retrieves the comment.

Returns:
such information.

setRcsFiles

protected void setRcsFiles(java.util.Collection collection)
Specifies the file collection.

Parameters:
collection - such collection.

getRcsFiles

public java.util.Collection getRcsFiles()
Retrieves the file collection.

Returns:
such collection.

add

public void add(RcsFile rcsFile)
Adds a new RCS file.

Parameters:
rcsFile - the file to add.

add

public void add(java.lang.String name,
                java.lang.String revision)
Adds a new file.

Parameters:
name - the file name.
revision - the file revision.

add

public void add(java.lang.String name,
                java.lang.String revision,
                java.lang.String previousRevision)
Adds a new file.

Parameters:
name - the file name.
revision - the file revision.
previousRevision - the previous revision.


Copyright © 2004 ACM S.L.. All Rights Reserved.