de.smartics.maven.issues.bugzilla
Class DefaultVersionSkipper
java.lang.Object
de.smartics.maven.issues.bugzilla.AbstractVersionSkipper
de.smartics.maven.issues.bugzilla.DefaultVersionSkipper
-
All Implemented Interfaces:
-
VersionSkipper
-
public class DefaultVersionSkipper
-
extends
AbstractVersionSkipper
Aribiter to determine if a version should be skipped from or included in a report.
-
Author:
-
Robert Reiner
Method Summary |
boolean |
skipVersion(org.apache.maven.artifact.versioning.ArtifactVersion releaseVersion, org.apache.maven.artifact.versioning.ArtifactVersion version) Checks if the version should be skipped so that issues associated with this version are not rendered in the report. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultVersionSkipper
public DefaultVersionSkipper(VersionType versionType,
boolean hasVersionRange)
-
Default constructor.
-
Parameters:
-
versionType
- the version type to be accepted.
-
hasVersionRange
- defines if the configuration has a version range defined.
skipVersion
public boolean skipVersion(org.apache.maven.artifact.versioning.ArtifactVersion releaseVersion,
org.apache.maven.artifact.versioning.ArtifactVersion version)
-
Checks if the
version
should be skipped so that issues associated with this version are not rendered in the report.
-
-
Parameters:
-
releaseVersion
- the version of the release.
-
version
- the version to check for skipping its issues.
-
Returns:
-
true
if the issues should be skipped and not rendered in the report,
false
otherwise.
Copyright © 2008-2010
Kronseder & Reiner GmbH - smartics. All Rights Reserved.