org.apache.maven.scm
Class ChangeFile

java.lang.Object
  extended by org.apache.maven.scm.ChangeFile

public class ChangeFile
extends java.lang.Object

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

Version:
$Id: ChangeFile.java 483105 2006-12-06 15:07:54Z evenisse $
Author:
dIon Gillard , Emmanuel Venisse

Constructor Summary
ChangeFile(java.lang.String name)
          Constructor for the ChangeFile object without all details available
ChangeFile(java.lang.String name, java.lang.String rev)
          Constructor for the ChangeFile object
 
Method Summary
 java.lang.String getName()
          Gets the name attribute of the ChangeLogFile object.
 java.lang.String getRevision()
          Gets the revision attribute of the ChangeLogFile object.
 void setName(java.lang.String name)
          Setter for property name.
 void setRevision(java.lang.String revision)
          Setter for property revision.
 java.lang.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

ChangeFile

public ChangeFile(java.lang.String name)
Constructor for the ChangeFile object without all details available

Parameters:
name - file name

ChangeFile

public ChangeFile(java.lang.String name,
                  java.lang.String rev)
Constructor for the ChangeFile object

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

getName

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

Returns:
the file name

getRevision

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

Returns:
the latest revision of the file

setName

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

Parameters:
name - New value of property name.

setRevision

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

Parameters:
revision - New value of property revision.

toString

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

Overrides:
toString in class java.lang.Object
Returns:
a Stringmade up of the properties of the object


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.