public class VersionInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.util.Date |
buildtime
The release date.
|
protected java.util.Date |
date
The release date.
|
java.text.DateFormat |
DATE_FORMAT_NUMBER
The short date format (e.g.
|
java.text.DateFormat |
DATE_FORMAT_TEXT
The text date format (e.g.
|
java.text.DateFormat |
DATE_FORMAT_TIMESTAMP
The short date format (e.g.
|
protected static VersionInfo |
instance
The version info singleton.
|
protected JadexVersion |
jadexversion
The Jadex version as bean object.
|
protected java.lang.String |
version
The version string (e.g.
|
Modifier | Constructor and Description |
---|---|
protected |
VersionInfo()
Create a new version info object.
|
Modifier and Type | Method and Description |
---|---|
java.util.Date |
getBuildTime()
Attempts to estimate the build time of the Jadex version in use.
|
java.util.Date |
getDate()
Get the release date.
|
static VersionInfo |
getInstance()
Get the version info object.
|
JadexVersion |
getJadexVersion()
Returns the version of Jadex.
|
java.lang.String |
getNumberDateString()
Get the release date as short number string
(format=yyyy/MM/dd, e.g.
|
java.lang.String |
getTextDateString()
Get the release date as long text string
(format=MMMM d, yyyy, e.g.
|
java.lang.String |
getTimestamp()
Get the release date as timestamp string
(format=yyyyMMdd.HHmmss, e.g.
|
java.lang.String |
getVersion()
Get the version string.
|
void |
setBuildTime(java.util.Date buildtime)
Sets the build time through external mechanism.
|
protected static final VersionInfo instance
public final java.text.DateFormat DATE_FORMAT_TEXT
public final java.text.DateFormat DATE_FORMAT_NUMBER
public final java.text.DateFormat DATE_FORMAT_TIMESTAMP
protected java.lang.String version
protected JadexVersion jadexversion
protected java.util.Date date
protected java.util.Date buildtime
public static VersionInfo getInstance()
public java.lang.String getVersion()
public java.util.Date getDate()
public JadexVersion getJadexVersion()
public java.util.Date getBuildTime()
public void setBuildTime(java.util.Date buildtime)
public java.lang.String getTextDateString()
public java.lang.String getNumberDateString()
public java.lang.String getTimestamp()