de.smartics.maven.issues.util
Class ReportReferenceExtractor
java.lang.Object
de.smartics.maven.issues.util.ReportReferenceExtractor
-
public class ReportReferenceExtractor
-
extends
Object
Responsible to extract report reference information from the report configurations that reference previous reports.
-
Author:
-
Robert Reiner
Constructor Summary |
ReportReferenceExtractor(String id, org.apache.maven.artifact.versioning.ArtifactVersion version, org.apache.maven.model.Reporting reporting) Default constructor. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReportReferenceExtractor
public ReportReferenceExtractor(String id,
org.apache.maven.artifact.versioning.ArtifactVersion version,
org.apache.maven.model.Reporting reporting)
-
Default constructor.
-
Parameters:
-
id
- the identifier of the report that must match as prefix the
outputName
of a report configuration for that configuration to be eligable for reference.
-
version
- the version of the current report to estimate if the referenced report is previous.
-
reporting
- the reporting section of the POM to analyse.
readReportReferences
public List<ReportReference> readReportReferences()
-
Reads the relevant report references. The reports must match the given prefix (
id
), provide a readable version range and the range must be previous to the current version.
-
-
Returns:
-
the references that match the criterias.
Copyright © 2008-2010
Kronseder & Reiner GmbH - smartics. All Rights Reserved.