Package jadex.bridge
Class VersionInfo
- java.lang.Object
- 
- jadex.bridge.VersionInfo
 
- 
 public class VersionInfo extends java.lang.ObjectSome version infos for Jadex.
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.util.DatebuildtimeThe release date.protected java.util.DatedateThe release date.java.text.DateFormatDATE_FORMAT_NUMBERThe short date format (e.g.java.text.DateFormatDATE_FORMAT_TEXTThe text date format (e.g.java.text.DateFormatDATE_FORMAT_TIMESTAMPThe short date format (e.g.protected static VersionInfoinstanceThe version info singleton.protected JadexVersionjadexversionThe Jadex version as bean object.protected java.lang.StringversionThe version string (e.g.
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedVersionInfo()Create a new version info object.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.DategetBuildTime()Attempts to estimate the build time of the Jadex version in use.java.util.DategetDate()Get the release date.static VersionInfogetInstance()Get the version info object.JadexVersiongetJadexVersion()Returns the version of Jadex.java.lang.StringgetNumberDateString()Get the release date as short number string (format=yyyy/MM/dd, e.g.java.lang.StringgetTextDateString()Get the release date as long text string (format=MMMM d, yyyy, e.g.java.lang.StringgetTimestamp()Get the release date as timestamp string (format=yyyyMMdd.HHmmss, e.g.java.lang.StringgetVersion()Get the version string.voidsetBuildTime(java.util.Date buildtime)Sets the build time through external mechanism.
 
- 
- 
- 
Field Detail- 
instanceprotected static final VersionInfo instance The version info singleton.
 - 
DATE_FORMAT_TEXTpublic final java.text.DateFormat DATE_FORMAT_TEXT The text date format (e.g. January 13, 2012).
 - 
DATE_FORMAT_NUMBERpublic final java.text.DateFormat DATE_FORMAT_NUMBER The short date format (e.g. 2012/01/13).
 - 
DATE_FORMAT_TIMESTAMPpublic final java.text.DateFormat DATE_FORMAT_TIMESTAMP The short date format (e.g. 2012/01/13).
 - 
versionprotected java.lang.String version The version string (e.g. 2.2-RC1).
 - 
jadexversionprotected JadexVersion jadexversion The Jadex version as bean object.
 - 
dateprotected java.util.Date date The release date.
 - 
buildtimeprotected java.util.Date buildtime The release date.
 
- 
 - 
Method Detail- 
getInstancepublic static VersionInfo getInstance() Get the version info object.
 - 
getVersionpublic java.lang.String getVersion() Get the version string.
 - 
getDatepublic java.util.Date getDate() Get the release date.- Returns:
- null, if unknown.
 
 - 
getJadexVersionpublic JadexVersion getJadexVersion() Returns the version of Jadex.- Returns:
- Version of Jadex.
 
 - 
getBuildTimepublic java.util.Date getBuildTime() Attempts to estimate the build time of the Jadex version in use.- Returns:
- The build time.
 
 - 
setBuildTimepublic void setBuildTime(java.util.Date buildtime) Sets the build time through external mechanism.
 - 
getTextDateStringpublic java.lang.String getTextDateString() Get the release date as long text string (format=MMMM d, yyyy, e.g. January 13, 2012).
 - 
getNumberDateStringpublic java.lang.String getNumberDateString() Get the release date as short number string (format=yyyy/MM/dd, e.g. 2012/01/13).
 - 
getTimestamppublic java.lang.String getTimestamp() Get the release date as timestamp string (format=yyyyMMdd.HHmmss, e.g. 20120113.174803).
 
- 
 
-