Package com.nomagic.runtime
Class RuntimeConstants
- java.lang.Object
-
- com.nomagic.runtime.RuntimeConstants
-
- Direct Known Subclasses:
ApplicationConstants
@OpenApi public class RuntimeConstants extends java.lang.Object
This class holds various application related information.
-
-
Field Summary
Fields Modifier and Type Field Description static boolean
BETA_BUILD
static java.lang.String
MAGIC_DRAW_REGISTER_EMAIL
static java.lang.String
MAGIC_DRAW_SUPPORT_URL
static java.lang.String
MD_SERVER_ADDRESS
static java.lang.String
NO_MAGIC_SALES_EMAIL
static java.lang.String
NO_MAGIC_SUPPORT_EMAIL
private static java.lang.String
patchNumber
private static java.lang.String
productHomePage
static java.lang.String
REFRESH
static int
REFRESH1_NUMBER
static java.lang.String
SP
static java.lang.String
VERSION
Application version numberstatic java.lang.String
WEB_ADDRESS
-
Constructor Summary
Constructors Modifier Constructor Description protected
RuntimeConstants()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
constructFullVersion(java.lang.String product)
static java.lang.String
constructFullVersion(java.lang.String product, java.lang.String patchNumber)
static java.lang.String
getFullVersion()
static java.lang.String
getPatchNumber()
static java.lang.String
getProductHomePage()
static int
parsePatchIndex(java.lang.String version)
static void
setPatchNumber(java.lang.String patchNumber)
static void
setProductHomePage(java.lang.String productHomePage)
-
-
-
Field Detail
-
WEB_ADDRESS
public static final java.lang.String WEB_ADDRESS
- See Also:
- Constant Field Values
-
VERSION
@OpenApi public static final java.lang.String VERSION
Application version number- See Also:
- Constant Field Values
-
REFRESH
public static final java.lang.String REFRESH
- See Also:
- Constant Field Values
-
REFRESH1_NUMBER
public static final int REFRESH1_NUMBER
- See Also:
- Constant Field Values
-
SP
public static final java.lang.String SP
- See Also:
- Constant Field Values
-
BETA_BUILD
public static final boolean BETA_BUILD
- 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
-
-
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)
-
-