org.codehaus.mojo.scmchangelog.changelog.log
Class ScmLogEntry

java.lang.Object
  extended by org.codehaus.mojo.scmchangelog.changelog.log.ScmLogEntry
All Implemented Interfaces:
Comparable

public class ScmLogEntry
extends Object
implements Comparable

Represents a log entry from the subversion repository.

Version:
$Id: ScmLogEntry.java 10735 2009-09-21 20:14:44Z ehsavoie $
Author:
ehsavoie

Constructor Summary
ScmLogEntry()
          Creates a new instance of ScmLogEntry
 
Method Summary
 int compareTo(Object object)
          Compare method, to order log entries.
 String getAuthor()
          Getter for property author.
 Date getDate()
          Getter for property date.
 Message getMessage()
          Getter for property message.
 String getRevision()
          Getter for property revision.
 void setAuthor(String author)
          Setter for property author.
 void setDate(Date date)
          Setter for property date.
 void setMessage(Message message)
          Setter for property message.
 void setRevision(String revision)
          Setter for property revision.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScmLogEntry

public ScmLogEntry()
Creates a new instance of ScmLogEntry

Method Detail

getRevision

public String getRevision()
Getter for property revision.

Returns:
Value of property revision.

setRevision

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

Parameters:
revision - New value of property revision.

getDate

public Date getDate()
Getter for property date.

Returns:
Value of property date.

setDate

public void setDate(Date date)
Setter for property date.

Parameters:
date - New value of property date.

getMessage

public Message getMessage()
Getter for property message.

Returns:
Value of property message.

setMessage

public void setMessage(Message message)
Setter for property message.

Parameters:
message - New value of property message.

getAuthor

public String getAuthor()
Getter for property author.

Returns:
Value of property author.

setAuthor

public void setAuthor(String author)
Setter for property author.

Parameters:
author - New value of property author.

compareTo

public int compareTo(Object object)
Compare method, to order log entries.

Specified by:
compareTo in interface Comparable
Parameters:
object - the object to be compred with this.
Returns:
a positive integer if this is after object - a negative integer if this is before object and 0 if they are equal.


Copyright © 2008-2009 Codehaus. All Rights Reserved.