de.smartics.maven.issues.bugzilla
Class DefaultVersionSkipper

Package class diagram package DefaultVersionSkipper
java.lang.Object
  extended by de.smartics.maven.issues.bugzilla.AbstractVersionSkipper
      extended by 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

Field Summary
 
Fields inherited from class de.smartics.maven.issues.bugzilla.AbstractVersionSkipper
versionType
 
Constructor Summary
DefaultVersionSkipper(VersionType versionType, boolean hasVersionRange)
          Default constructor.
 
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 de.smartics.maven.issues.bugzilla.AbstractVersionSkipper
isReleaseSnapshotOfVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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.
Method Detail

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-2013 Kronseder & Reiner GmbH - smartics. All Rights Reserved.