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
ConstructorDescriptionChangesXML
(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 theauthorEmail
attribute.Returns the current value of thechangesDocument
attribute.Returns the current value of thereleaseList
attribute.getTitle()
Returns the current value of thetitle
attribute.void
Sets theauthor
attribute.void
setAuthorEmail
(String authorEmail) Sets theauthorEmail
attribute.void
setReleaseList
(List<Release> releaseList) Sets thereleaseList
attribute.void
Sets thetitle
attribute.
-
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 theauthor
attribute.- Parameters:
author
- the new value of theauthor
attribute
-
getAuthor
Returns the current value of the author attribute.- Returns:
- the current value of the author attribute
-
setReleaseList
Sets thereleaseList
attribute.- Parameters:
releaseList
- the new value of thereleaseList
attribute
-
getReleaseList
Returns the current value of thereleaseList
attribute.- Returns:
- the current value of the
releaseList
attribute
-
setTitle
Sets thetitle
attribute.- Parameters:
title
- the new value of thetitle
attribute
-
getTitle
Returns the current value of thetitle
attribute.- Returns:
- the current value of the
title
attribute
-
getChangesDocument
Returns the current value of thechangesDocument
attribute.- Returns:
- the current value of the
changesDocument
attribute
-
getAuthorEmail
Returns the current value of theauthorEmail
attribute.- Returns:
- the current value of the
authorEmail
attribute
-
setAuthorEmail
Sets theauthorEmail
attribute.- Parameters:
authorEmail
- the new value of theauthorEmail
attribute
-