Package de.xima.fc.fs.server.monitoring
Class FCVersionInfo
- java.lang.Object
-
- de.xima.fc.fs.server.monitoring.FCVersionInfo
-
- All Implemented Interfaces:
FCVersionInfoMBean
public class FCVersionInfo extends Object implements FCVersionInfoMBean
MBean implementation ofFCVersionInfoMBeanfor monitoring the formcycle version.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Dategetbuild_date()Gets the date when the current formcycle instance was built.Stringgetversion_name()Gets the code name of the current formcycle instance.Stringgetversion_number()Gets the version number of the current formcycle instance.static voidregister()Register the formcycle version monitoring bean with the current MBean server.static voidunregister()Unregister the formcycle version monitoring bean with the current MBean server.
-
-
-
Method Detail
-
getbuild_date
public Date getbuild_date()
Description copied from interface:FCVersionInfoMBeanGets the date when the current formcycle instance was built. For production releases, this is the time when the version was built, which may be slightly earlier that the date the version was released.- Specified by:
getbuild_datein interfaceFCVersionInfoMBean- Returns:
- The build date of the current formcycle instance.
-
getversion_name
public String getversion_name()
Description copied from interface:FCVersionInfoMBeanGets the code name of the current formcycle instance. This is usually a code name for the release, such asdespinaorlarissa.- Specified by:
getversion_namein interfaceFCVersionInfoMBean- Returns:
- The code name of the current formcycle instance.
-
getversion_number
public String getversion_number()
Description copied from interface:FCVersionInfoMBeanGets the version number of the current formcycle instance. This is usually a valid semantic version number, but could be any string e.g. in test environments. For production environments, this is most likely a semantic version without any pre-release or build metadata, such as1.2.3.- Specified by:
getversion_numberin interfaceFCVersionInfoMBean- Returns:
- The version number of the current formcycle instance.
-
register
public static void register()
Register the formcycle version monitoring bean with the current MBean server.
-
unregister
public static void unregister()
Unregister the formcycle version monitoring bean with the current MBean server.
-
-