public class Version extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
get()
Returns the version of this MMBase.
|
static String |
getBuildDate()
Returns the build date of this MMBase.
|
static int |
getMajor()
Returns the major version number of this MMBase.
|
static Manifest |
getManifest()
Returns the Manifest of the jar in which this version is contained.
|
static int |
getMinor()
Returns the minor version number of this MMBase.
|
static String |
getName()
Returns the 'name' part of the MMBase version.
|
static String |
getNumber()
Returns the version number of this MMBase.
|
static int |
getPatchLevel()
Returns the patch level number of this MMBase.
|
static String |
getReleaseStatus()
A String describing the status of this release.
|
static String |
getSCMRevision()
Returns the SubVersion version from which the current jar was built.
|
static String |
getTag()
Get Version Control tag
|
static boolean |
isRelease()
Returns if this is a release version of MMBase.
|
static void |
main(String[] args)
Prints the version of this mmbase on stdout.
|
public static String getTag()
public static String getName()
public static int getMajor()
public static int getMinor()
public static int getPatchLevel()
public static String getBuildDate()
public static String getSCMRevision()
public static String getNumber()
public static boolean isRelease()
public static String getReleaseStatus()
public static String get()
public static Manifest getManifest()
null if
it is not in a jar.public static void main(String[] args)
java -jar mmbase.jarargs - command line argsMMBase 1.9-SNAPSHOT - ${javadoctimestamp}