de.smartics.maven.issues
Class AbstractVersionFactory

Package class diagram package AbstractVersionFactory
java.lang.Object
  extended by de.smartics.maven.issues.AbstractVersionFactory
All Implemented Interfaces:
VersionFactory
Direct Known Subclasses:
BugzillaVersionFactory

public abstract class AbstractVersionFactory
     
     
extends Object
implements VersionFactory

Default implementation that uses Maven's DefaultArtifactVersion implementation.

Author:
Robert Reiner

Constructor Summary
protected AbstractVersionFactory()
          Abstract class constructor.
 
Method Summary
 org.apache.maven.artifact.versioning.ArtifactVersion createVersion(String versionString)
          Creates a version instance from the given version string.
 
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.VersionFactory
createRange
 

Constructor Detail

AbstractVersionFactory

protected AbstractVersionFactory()
Abstract class constructor.

Method Detail

createVersion

public org.apache.maven.artifact.versioning.ArtifactVersion createVersion(String versionString)
Creates a version instance from the given version string.

Specified by:
createVersion in interface VersionFactory
Parameters:
versionString - the version string to parse.
Returns:
the version instance.
See Also:
VersionFactory.createVersion(java.lang.String)


Copyright © 2008-2010 Kronseder & Reiner GmbH - smartics. All Rights Reserved.