de.smartics.maven.issues.bugzilla
Class AbstractVersionSkipper
java.lang.Object
de.smartics.maven.issues.bugzilla.AbstractVersionSkipper
-
All Implemented Interfaces:
-
VersionSkipper
-
Direct Known Subclasses:
-
DefaultVersionSkipper,
ReleasePlanVersionSkipper
-
public abstract class AbstractVersionSkipper
-
extends
Object
-
implements
VersionSkipper
Arbiter to determine if a version should be skipped from or included in a report.
-
Author:
-
Robert Reiner
Method Summary |
protected boolean |
isReleaseSnapshotOfVersion(org.apache.maven.artifact.versioning.ArtifactVersion releaseVersion, org.apache.maven.artifact.versioning.ArtifactVersion version) If we render the report for a SNAPSHOT version we want to include issues fixed for the current target release that is the version without the SNAPHOT qualifier. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
versionType
protected final VersionType versionType
-
The configuration to control the rendering process.
AbstractVersionSkipper
public AbstractVersionSkipper(VersionType versionType)
-
Default constructor.
-
Parameters:
-
versionType
- the version type to be accepted.
isReleaseSnapshotOfVersion
protected boolean isReleaseSnapshotOfVersion(org.apache.maven.artifact.versioning.ArtifactVersion releaseVersion,
org.apache.maven.artifact.versioning.ArtifactVersion version)
-
If we render the report for a SNAPSHOT version we want to include issues fixed for the current target release that is the version without the SNAPHOT qualifier.
-
-
-
Parameters:
-
releaseVersion
- the version about to be released.
-
version
- the version to check if should be skipped.
-
Returns:
-
true
if the release is a SNAPSHOT of the given version.
Copyright © 2008-2010
Kronseder & Reiner GmbH - smartics. All Rights Reserved.