public final class NucleusAPIMetaService
extends java.lang.Object
This service is available from PRE INIT - Late order.
Constructor and Description |
---|
NucleusAPIMetaService(java.lang.String version) |
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.
|
java.lang.String |
semanticVersion()
The version of the Nucleus API this is, or will be, if this is a snapshot.
|
java.lang.String |
version()
The version of the Nucleus API this is.
|
public java.lang.String version()
public java.lang.String semanticVersion()
public int major()
public int minor()
public int patch()
public boolean isRelease()
true
if so.