Package org.glassfish.hk2.maven
Class Version
- java.lang.Object
-
- org.glassfish.hk2.maven.Version
-
public class Version extends Object
- Author:
- Romain Grecourt
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Version.COMPONENT
-
Field Summary
Fields Modifier and Type Field Description static Pattern
STANDARD_PATTERN
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
convertToOsgi(Version.COMPONENT comToDrop)
int
getIncrementalVersion()
int
getMajorVersion()
int
getMinorVersion()
String
getQualifier()
-
-
-
Field Detail
-
STANDARD_PATTERN
public static final Pattern STANDARD_PATTERN
-
-
Constructor Detail
-
Version
public Version(String v)
-
-
Method Detail
-
getMajorVersion
public int getMajorVersion()
-
getMinorVersion
public int getMinorVersion()
-
getIncrementalVersion
public int getIncrementalVersion()
-
getQualifier
public String getQualifier()
-
convertToOsgi
public String convertToOsgi(Version.COMPONENT comToDrop)
-
-