Class FCVersionInfo

java.lang.Object
de.xima.fc.ms.monitoring.FCVersionInfo
All Implemented Interfaces:
FCVersionInfoMBean

public class FCVersionInfo extends Object implements FCVersionInfoMBean
MBean implementation of FCVersionInfoMBean for monitoring the formcycle version.
  • Method Details

    • 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 interface FCVersionInfoMBean
      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 as despina or larissa.
      Specified by:
      getversion_name in interface FCVersionInfoMBean
      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 as 1.2.3.
      Specified by:
      getversion_number in interface FCVersionInfoMBean
      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.