de.smartics.maven.issues.bugzilla
Class AbstractVersionSkipper

Package class diagram package AbstractVersionSkipper
java.lang.Object
  extended by 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

Field Summary
protected  VersionType versionType
          The configuration to control the rendering process.
 
Constructor Summary
AbstractVersionSkipper(VersionType versionType)
          Default constructor.
 
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
 
Methods inherited from interface de.smartics.maven.issues.bugzilla.VersionSkipper
skipVersion
 

Field Detail

versionType

protected final VersionType versionType
The configuration to control the rendering process.

Constructor Detail

AbstractVersionSkipper

public AbstractVersionSkipper(VersionType versionType)
Default constructor.

Parameters:
versionType - the version type to be accepted.
Method Detail

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