public final class NucleusAPIMetaService extends Object
This service is available from PRE INIT - Late order.
Constructor and Description |
---|
NucleusAPIMetaService(String version,
String semver,
boolean isRelease) |
Modifier and Type | Method and Description |
---|---|
boolean |
isRelease()
Returns whether this is a release version.
|
int |
major()
The major component of the version number.
|
int |
minor()
The minor component of the version number.
|
int |
patch()
The patch component of the version number.
|
String |
semanticVersion()
The version of the Nucleus API this is, or will be, if this is a snapshot.
|
String |
version()
The version of the Nucleus API this is.
|
public String version()
public String semanticVersion()
public int major()
public int minor()
public int patch()
public boolean isRelease()
true
if so.