Class RuntimeConstants

  • Direct Known Subclasses:
    ApplicationConstants

    @OpenApi
    public class RuntimeConstants
    extends java.lang.Object
    This class holds various application related information.
    • Field Detail

      • VERSION

        @OpenApi
        public static final java.lang.String VERSION
        Application version number
        See Also:
        Constant Field Values
      • MAGIC_DRAW_REGISTER_EMAIL

        public static final java.lang.String MAGIC_DRAW_REGISTER_EMAIL
        See Also:
        Constant Field Values
      • NO_MAGIC_SUPPORT_EMAIL

        public static final java.lang.String NO_MAGIC_SUPPORT_EMAIL
        See Also:
        Constant Field Values
      • MAGIC_DRAW_SUPPORT_URL

        public static final java.lang.String MAGIC_DRAW_SUPPORT_URL
        See Also:
        Constant Field Values
      • MD_SERVER_ADDRESS

        public static final java.lang.String MD_SERVER_ADDRESS
        See Also:
        Constant Field Values
      • NO_MAGIC_SALES_EMAIL

        public static final java.lang.String NO_MAGIC_SALES_EMAIL
        See Also:
        Constant Field Values
      • productHomePage

        private static java.lang.String productHomePage
      • patchNumber

        private static java.lang.String patchNumber
    • Constructor Detail

      • RuntimeConstants

        protected RuntimeConstants()
    • Method Detail

      • getFullVersion

        @OpenApi
        public static java.lang.String getFullVersion()
        Returns:
        application version + patch version
      • constructFullVersion

        public static java.lang.String constructFullVersion​(java.lang.String product)
      • constructFullVersion

        public static java.lang.String constructFullVersion​(java.lang.String product,
                                                            java.lang.String patchNumber)
      • getPatchNumber

        public static java.lang.String getPatchNumber()
      • parsePatchIndex

        public static int parsePatchIndex​(java.lang.String version)
      • setPatchNumber

        public static void setPatchNumber​(java.lang.String patchNumber)
      • getProductHomePage

        public static java.lang.String getProductHomePage()
      • setProductHomePage

        public static void setProductHomePage​(java.lang.String productHomePage)