public class ChangeLogSet extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_ENCODING |
Constructor and Description |
---|
ChangeLogSet(Date startDate,
Date endDate)
Initializes a new instance of this class.
|
ChangeLogSet(List<ChangeSet> entries,
Date startDate,
Date endDate)
Initializes a new instance of this class.
|
Modifier and Type | Method and Description |
---|---|
List<ChangeSet> |
getChangeSets()
Returns the collection of changeSet.
|
Date |
getEndDate()
Returns the end date for this set.
|
ScmVersion |
getEndVersion()
Returns the end version (revision/branch/label) for this set.
|
Date |
getStartDate()
Returns the start date.
|
ScmVersion |
getStartVersion()
Returns the start version (revision/branch/label) for this set.
|
void |
setChangeSets(List<ChangeSet> changeSets) |
void |
setEndVersion(ScmVersion endVersion) |
void |
setStartVersion(ScmVersion startVersion) |
String |
toXML()
Creates an XML representation of this change log set with a default encoding (ISO-8859-1).
|
String |
toXML(String encoding)
Creates an XML representation of this change log set.
|
public static final String DEFAULT_ENCODING
public ChangeLogSet(Date startDate, Date endDate)
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.public ChangeLogSet(List<ChangeSet> entries, Date startDate, Date endDate)
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.public Date getStartDate()
public Date getEndDate()
null
if this set goes to the present time.public ScmVersion getStartVersion()
null
.public void setStartVersion(ScmVersion startVersion)
public ScmVersion getEndVersion()
null
.public void setEndVersion(ScmVersion endVersion)
public List<ChangeSet> getChangeSets()
ChangeSet
objects for this set.public void setChangeSets(List<ChangeSet> changeSets)
public String toXML()
Copyright © 2003–2018 The Apache Software Foundation. All rights reserved.