org.codehaus.mojo.scmchangelog.scm.hg.command.changelog
Class BetterChangeSet

java.lang.Object
  extended by org.apache.maven.scm.ChangeSet
      extended by org.codehaus.mojo.scmchangelog.scm.hg.command.changelog.BetterChangeSet

public class BetterChangeSet
extends org.apache.maven.scm.ChangeSet

ChangeSet with the revision.

Version:
$Id: BetterChangeSet.java 7652 2008-09-11 07:58:40Z ehsavoie $
Author:
ehsavoie
See Also:
ChangeSet

Field Summary
 
Fields inherited from class org.apache.maven.scm.ChangeSet
AMPERSAND_ENTITY, APOSTROPHE_ENTITY, GREATER_THAN_ENTITY, LESS_THAN_ENTITY, QUOTE_ENTITY
 
Constructor Summary
BetterChangeSet()
          Constructor used when attributes aren't available until later
BetterChangeSet(Date date, String comment, String author, List files, String currentRevision)
          Constructor of a ChangeSet.
BetterChangeSet(String strDate, String userDatePattern, String comment, String author, List files, String currentRevision)
          Constructor of a ChangeSet.
 
Method Summary
 String getRevision()
          Getter for the SCM revision id of this changeset.
 void setRevision(String revision)
          Setter for the SCM revision id of this changeset.
 
Methods inherited from class org.apache.maven.scm.ChangeSet
addFile, containsFilename, equals, escapeValue, getAuthor, getComment, getDate, getDateFormatted, getFiles, getTimeFormatted, hashCode, setAuthor, setComment, setDate, setDate, setDate, setFiles, toString, toXML
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BetterChangeSet

public BetterChangeSet(String strDate,
                       String userDatePattern,
                       String comment,
                       String author,
                       List files,
                       String currentRevision)
Constructor of a ChangeSet.

Parameters:
strDate - Date the changes were committed.
userDatePattern - pattern of date.
comment - comment provided at commit time.
author - User who made changes.
files - The ChangeFile list.
currentRevision - The revision.

BetterChangeSet

public BetterChangeSet(Date date,
                       String comment,
                       String author,
                       List files,
                       String currentRevision)
Constructor of a ChangeSet.

Parameters:
date - Date the changes were committed
comment - comment provided at commit time
author - User who made changes
files - The ChangeFile list
currentRevision - The revision.

BetterChangeSet

public BetterChangeSet()
Constructor used when attributes aren't available until later

Method Detail

getRevision

public String getRevision()
Getter for the SCM revision id of this changeset.

Returns:
the SCM revision id of this changeset.

setRevision

public void setRevision(String revision)
Setter for the SCM revision id of this changeset.

Parameters:
revision - the SCM revision id of this changeset.


Copyright © 2008-2009 Codehaus. All Rights Reserved.