Class NullVersion
java.lang.Object
org.spongepowered.plugin.metadata.builtin.NullVersion
- All Implemented Interfaces:
Comparable<ArtifactVersion>
,ArtifactVersion
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
int
int
int
static NullVersion
instance()
void
parseVersion
(String version)
-
Constructor Details
-
NullVersion
public NullVersion()
-
-
Method Details
-
instance
-
getMajorVersion
public int getMajorVersion()- Specified by:
getMajorVersion
in interfaceArtifactVersion
-
getMinorVersion
public int getMinorVersion()- Specified by:
getMinorVersion
in interfaceArtifactVersion
-
getIncrementalVersion
public int getIncrementalVersion()- Specified by:
getIncrementalVersion
in interfaceArtifactVersion
-
getBuildNumber
public int getBuildNumber()- Specified by:
getBuildNumber
in interfaceArtifactVersion
-
getQualifier
- Specified by:
getQualifier
in interfaceArtifactVersion
-
parseVersion
- Specified by:
parseVersion
in interfaceArtifactVersion
-
compareTo
- Specified by:
compareTo
in interfaceComparable<ArtifactVersion>
-