ca.utoronto.JCVSReport.cvsPlugin
Class History

java.lang.Object
  extended byca.utoronto.JCVSReport.cvsPlugin.History

public class History
extends Object

History is a container class for a single CVS history record.

A CVS history record follows the following general format:

CODE DATE USER [REVISION] [FILE] PATH == LOCAL_PATH

Author:
Polina Gohshtein

Constructor Summary
History()
           
 
Method Summary
 boolean equals(History other)
          Compare this History object to the other History object.
 String getFile()
           
 String getOperation()
           
 String getPath()
           
 String getQualifiedFilename()
           
 String getRevision()
           
 Timestamp getTimestamp()
           
 String getUser()
           
 int hashCode()
          hashCode.
 void setFile(String file)
           
 void setOperation(String operation)
           
 void setPath(String path)
           
 void setRevision(String revision)
           
 void setTimestamp(Timestamp timestamp)
           
 void setUser(String user)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

History

public History()
Method Detail

getOperation

public String getOperation()
Returns:
Returns the operation.

setOperation

public void setOperation(String operation)
Parameters:
operation - The operation to set.

getFile

public String getFile()
Returns:
Returns the file.

setFile

public void setFile(String file)
Parameters:
file - The file to set.

getPath

public String getPath()
Returns:
Returns the path.

setPath

public void setPath(String path)
Parameters:
path - The path to set.

getRevision

public String getRevision()
Returns:
Returns the revision.

setRevision

public void setRevision(String revision)
Parameters:
revision - The revision to set.

getTimestamp

public Timestamp getTimestamp()
Returns:
Returns the timestamp.

setTimestamp

public void setTimestamp(Timestamp timestamp)
Parameters:
timestamp - The timestamp to set.

getUser

public String getUser()
Returns:
Returns the user.

setUser

public void setUser(String user)
Parameters:
user - The user to set.

getQualifiedFilename

public String getQualifiedFilename()
Returns:
qualified filename (path+name)

toString

public String toString()
Returns:
Returns a string representation of the history record.

equals

public boolean equals(History other)
Compare this History object to the other History object.

Parameters:
other - History object to compare
Returns:
true if this object is equal to the other object

hashCode

public int hashCode()
hashCode.



JCVSReport: Easy Progress Reports for CVS/Java Projects. By David James.