org.apache.maven.scm.command.changelog

Class ChangeLogSet

public class ChangeLogSet extends Object

Version: $Id: ChangeLogSet.java 383898 2006-03-07 14:21:09Z evenisse $

Author: Emmanuel Venisse

Field Summary
static StringDEFAULT_ENCODING
Constructor Summary
ChangeLogSet(Date startDate, Date endDate)
Initializes a new instance of this class.
ChangeLogSet(List entries, Date startDate, Date endDate)
Initializes a new instance of this class.
Method Summary
ListgetChangeSets()
Returns the collection of changeSet.
DategetEndDate()
Returns the end date for this set.
DategetStartDate()
Returns the start date.
voidsetChangeSets(List changeSets)
StringtoXML()
Creates an XML representation of this change log set with a default encoding (ISO-8859-1).
StringtoXML(String encoding)
Creates an XML representation of this change log set.

Field Detail

DEFAULT_ENCODING

public static final String DEFAULT_ENCODING

Constructor Detail

ChangeLogSet

public ChangeLogSet(Date startDate, Date endDate)
Initializes a new instance of this class.

Parameters: startDate the start date/tag for this set. endDate the end date/tag for this set, or null if this set goes to the present time.

ChangeLogSet

public ChangeLogSet(List entries, Date startDate, Date endDate)
Initializes a new instance of this class.

Parameters: entries collection of ChangeSet objects for this set. startDate the start date/tag for this set. endDate the end date/tag for this set, or null if this set goes to the present time.

Method Detail

getChangeSets

public List getChangeSets()
Returns the collection of changeSet.

Returns: the collection of ChangeSet objects for this set.

getEndDate

public Date getEndDate()
Returns the end date for this set.

Returns: the end date for this set, or null if this set goes to the present time.

getStartDate

public Date getStartDate()
Returns the start date.

Returns: the start date.

setChangeSets

public void setChangeSets(List changeSets)

toXML

public String toXML()
Creates an XML representation of this change log set with a default encoding (ISO-8859-1).

toXML

public String toXML(String encoding)
Creates an XML representation of this change log set.
Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.