Class ChangeLogSet
java.lang.Object
org.apache.maven.scm.command.changelog.ChangeLogSet
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringprivate Dateprivate ScmVersionprivate Dateprivate ScmVersion -
Constructor Summary
ConstructorsConstructorDescriptionChangeLogSet(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. -
Method Summary
Modifier and TypeMethodDescriptionReturns the collection of changeSet.Returns the end date for this set.Returns the end version (revision/branch/label) for this set.Returns the start date.Returns the start version (revision/branch/label) for this set.voidsetChangeSets(List<ChangeSet> changeSets) voidsetEndVersion(ScmVersion endVersion) voidsetStartVersion(ScmVersion startVersion) toXML()Creates an XML representation of this change log set with a default encoding (ISO-8859-1).Creates an XML representation of this change log set.
-
Field Details
-
DEFAULT_ENCODING
- See Also:
-
entries
-
startDate
-
endDate
-
startVersion
-
endVersion
-
-
Constructor Details
-
ChangeLogSet
-
ChangeLogSet
Initializes a new instance of this class.- Parameters:
entries- collection ofChangeSetobjects for this setstartDate- the start date/tag for this setendDate- the end date/tag for this set, ornullif this set goes to the present time
-
-
Method Details
-
getStartDate
-
getEndDate
Returns the end date for this set.- Returns:
- the end date for this set, or
nullif this set goes to the present time
-
getStartVersion
Returns the start version (revision/branch/label) for this set.- Returns:
- the start version (revision/branch/label) for this set, or
null
-
setStartVersion
-
getEndVersion
Returns the end version (revision/branch/label) for this set.- Returns:
- the end version (revision/branch/label) for this set, or
null
-
setEndVersion
-
getChangeSets
-
setChangeSets
-
toXML
Creates an XML representation of this change log set with a default encoding (ISO-8859-1).- Returns:
- TODO
-
toXML
-