类 CmsVersion
java.lang.Object
com.publiccms.common.constants.CmsVersion
CmsVersion
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static final String
static License
static final String
static final String
static boolean
static boolean
static boolean
isMaster()
static boolean
static void
setInitialized
(boolean initialized) static void
setMaster
(boolean master) static void
setScheduled
(boolean scheduled) static boolean
verifyDomain
(String domain)
-
字段详细资料
-
clusterId
-
master
private static boolean master -
initialized
private static boolean initialized -
scheduled
private static boolean scheduled -
copyright
-
BASE_VERSION
base version- 另请参阅:
-
-
构造器详细资料
-
CmsVersion
private CmsVersion()
-
-
方法详细资料
-
getVersion
- 返回:
- version
-
getRevision
- 返回:
- revision
-
isAuthorizationEdition
public static boolean isAuthorizationEdition()- 返回:
- whether the authorization edition
-
verifyDomain
- 参数:
domain
-- 返回:
- whether the domain authorized
-
getLicense
- 返回:
- license
-
getClusterId
- 返回:
- cluster id
-
isMaster
public static boolean isMaster()- 返回:
- whether the master node
-
setMaster
public static void setMaster(boolean master) - 参数:
master
-
-
isInitialized
public static boolean isInitialized()- 返回:
- whether initialized
-
setInitialized
public static void setInitialized(boolean initialized) - 参数:
initialized
-
-
isScheduled
public static boolean isScheduled()- 返回:
- the scheduled
-
setScheduled
public static void setScheduled(boolean scheduled) - 参数:
scheduled
- the scheduled to set
-