org.apache.maven.changelog
Class ChangeLogFile

java.lang.Object
  extended byorg.apache.maven.changelog.ChangeLogFile

public class ChangeLogFile
extends Object

A set of information about revisions of a file as returned by CVS's log command

Version:
$Id: ChangeLogFile.java 532339 2007-04-25 12:28:56Z ltheussl $
Author:
dIon Gillard

Constructor Summary
ChangeLogFile(String name)
          Constructor for the ChangeLogFile object without all details available
ChangeLogFile(String name, String rev)
          Constructor for the ChangeLogFile object
 
Method Summary
 String getName()
          Gets the name attribute of the ChangeLogFile object.
 String getRevision()
          Gets the revision attribute of the ChangeLogFile object.
 void setName(String name)
          Setter for property name.
 void setRevision(String revision)
          Setter for property revision.
 String toString()
          Provide a version of the object as a string for debugging purposes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ChangeLogFile

public ChangeLogFile(String name)
Constructor for the ChangeLogFile object without all details available

Parameters:
name - file name

ChangeLogFile

public ChangeLogFile(String name,
                     String rev)
Constructor for the ChangeLogFile object

Parameters:
name - file name
rev - latest revision of the file
Method Detail

getName

public String getName()
Gets the name attribute of the ChangeLogFile object.

Returns:
the file name

getRevision

public String getRevision()
Gets the revision attribute of the ChangeLogFile object.

Returns:
the latest revision of the file

setName

public void setName(String name)
Setter for property name.

Parameters:
name - New value of property name.

setRevision

public void setRevision(String revision)
Setter for property revision.

Parameters:
revision - New value of property revision.

toString

public String toString()
Provide a version of the object as a string for debugging purposes

Returns:
a String made up of the properties of the object


Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.