Package b4j.report
Class DefaultChangeLogEntryProvider
java.lang.Object
b4j.report.DefaultChangeLogEntryProvider
- All Implemented Interfaces:
ChangeLogEntryProvider
,IConfigurable
public class DefaultChangeLogEntryProvider extends java.lang.Object implements ChangeLogEntryProvider
Adds entries from the XML configuration for each release listed.
Configuration:
<ChangeLogEntryProvider class="b4j.report.DefaultChangeLogEntryProvider"> <Release name="Release 1.4.0"> This is an additional entry defined in the report configuration for 1.0 And this is the 2nd entry defined in the report configuration </Release> </ChangeLogEntryProvider>
- Author:
- Ralph Schuster
-
Constructor Summary
Constructors Constructor Description DefaultChangeLogEntryProvider()
Default constructor. -
Method Summary
Modifier and Type Method Description void
configure(org.apache.commons.configuration.Configuration config)
java.util.Iterator<java.lang.String>
getChangeLogEntries(Release release)
Returns the additional log entries
-
Constructor Details
-
DefaultChangeLogEntryProvider
public DefaultChangeLogEntryProvider()Default constructor.
-
-
Method Details
-
getChangeLogEntries
Returns the additional log entries- Specified by:
getChangeLogEntries
in interfaceChangeLogEntryProvider
- Parameters:
release
- - the release where data needs to be collected.- Returns:
- iterator on all additional ChangeLog entries for this release.
- See Also:
ChangeLogEntryProvider.getChangeLogEntries(b4j.report.Release)
-
configure
public void configure(org.apache.commons.configuration.Configuration config) throws org.apache.commons.configuration.ConfigurationException- Specified by:
configure
in interfaceIConfigurable
- Throws:
org.apache.commons.configuration.ConfigurationException
-