public class DefaultArtifactVersion extends Object implements ArtifactVersion
Constructor and Description |
---|
DefaultArtifactVersion(String version) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(ArtifactVersion otherVersion) |
boolean |
equals(Object other) |
int |
getBuildNumber() |
int |
getIncrementalVersion() |
int |
getMajorVersion() |
int |
getMinorVersion() |
String |
getQualifier() |
int |
hashCode() |
void |
parseVersion(String version) |
String |
toString() |
public DefaultArtifactVersion(String version)
public int compareTo(ArtifactVersion otherVersion)
compareTo
in interface Comparable<ArtifactVersion>
public int getMajorVersion()
getMajorVersion
in interface ArtifactVersion
public int getMinorVersion()
getMinorVersion
in interface ArtifactVersion
public int getIncrementalVersion()
getIncrementalVersion
in interface ArtifactVersion
public int getBuildNumber()
getBuildNumber
in interface ArtifactVersion
public String getQualifier()
getQualifier
in interface ArtifactVersion
public final void parseVersion(String version)
parseVersion
in interface ArtifactVersion
Copyright © 2001–2019 The Apache Software Foundation. All rights reserved.