Package org.apache.maven.plugins.changes
Class ChangesXML
java.lang.Object
org.apache.maven.plugins.changes.ChangesXML
A facade for a changes.xml file.
- Version:
- $Id$
-
Constructor Summary
ConstructorsConstructorDescriptionChangesXML(File xmlPath, org.apache.maven.plugin.logging.Log log) Constructor that sets the changes.xml file and the logger. -
Method Summary
Modifier and TypeMethodDescriptionReturns the current value of the author attribute.Returns the current value of theauthorEmailattribute.Returns the current value of thechangesDocumentattribute.Returns the current value of thereleaseListattribute.getTitle()Returns the current value of thetitleattribute.voidSets theauthorattribute.voidsetAuthorEmail(String authorEmail) Sets theauthorEmailattribute.voidsetReleaseList(List<Release> releaseList) Sets thereleaseListattribute.voidSets thetitleattribute.
-
Constructor Details
-
ChangesXML
public ChangesXML(File xmlPath, org.apache.maven.plugin.logging.Log log) throws ChangesXMLRuntimeException Constructor that sets the changes.xml file and the logger.- Parameters:
xmlPath- the changes.xml filelog- the logger- Throws:
ChangesXMLRuntimeException- if there was a fatal error while parsing the changes.xml file
-
-
Method Details
-
setAuthor
Sets theauthorattribute.- Parameters:
author- the new value of theauthorattribute
-
getAuthor
Returns the current value of the author attribute.- Returns:
- the current value of the author attribute
-
setReleaseList
Sets thereleaseListattribute.- Parameters:
releaseList- the new value of thereleaseListattribute
-
getReleaseList
Returns the current value of thereleaseListattribute.- Returns:
- the current value of the
releaseListattribute
-
setTitle
Sets thetitleattribute.- Parameters:
title- the new value of thetitleattribute
-
getTitle
Returns the current value of thetitleattribute.- Returns:
- the current value of the
titleattribute
-
getChangesDocument
Returns the current value of thechangesDocumentattribute.- Returns:
- the current value of the
changesDocumentattribute
-
getAuthorEmail
Returns the current value of theauthorEmailattribute.- Returns:
- the current value of the
authorEmailattribute
-
setAuthorEmail
Sets theauthorEmailattribute.- Parameters:
authorEmail- the new value of theauthorEmailattribute
-