de.smartics.maven.issues.bugzilla
Class ReleasePlanVersionSkipper

Package class diagram package ReleasePlanVersionSkipper
java.lang.Object
  extended by de.smartics.maven.issues.bugzilla.AbstractVersionSkipper
      extended by de.smartics.maven.issues.bugzilla.ReleasePlanVersionSkipper
All Implemented Interfaces:
VersionSkipper

public class ReleasePlanVersionSkipper
     
     
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
ReleasePlanVersionSkipper(VersionType versionType)
          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

ReleasePlanVersionSkipper

public ReleasePlanVersionSkipper(VersionType versionType)
Default constructor.

Parameters:
versionType - the version type to be accepted.
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.

Implementation Notes:
Subclasses should implement their specific logic.
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.