Package de.xima.fc.ms.monitoring
Class FCVersionInfo
- java.lang.Object
-
- de.xima.fc.ms.monitoring.FCVersionInfo
-
- All Implemented Interfaces:
FCVersionInfoMBean
public class FCVersionInfo extends Object implements FCVersionInfoMBean
MBean implementation ofFCVersionInfoMBean
for monitoring the formcycle version.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Date
getbuild_date()
Gets the date when the current formcycle instance was built.String
getversion_name()
Gets the code name of the current formcycle instance.String
getversion_number()
Gets the version number of the current formcycle instance.static void
register()
Register the formcycle version monitoring bean with the current MBean server.static void
unregister()
Unregister the formcycle version monitoring bean with the current MBean server.
-
-
-
Method Detail
-
getbuild_date
public Date getbuild_date()
Description copied from interface:FCVersionInfoMBean
Gets 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_date
in interfaceFCVersionInfoMBean
- Returns:
- The build date of the current formcycle instance.
-
getversion_name
public String getversion_name()
Description copied from interface:FCVersionInfoMBean
Gets the code name of the current formcycle instance. This is usually a code name for the release, such asdespina
orlarissa
.- Specified by:
getversion_name
in interfaceFCVersionInfoMBean
- Returns:
- The code name of the current formcycle instance.
-
getversion_number
public String getversion_number()
Description copied from interface:FCVersionInfoMBean
Gets 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_number
in 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.
-
-