public enum LicenseContext extends java.lang.Enum<LicenseContext>
枚举常量和说明 |
---|
CloudLicense
云认证
|
Dongle
加密狗
|
Emb
内置lic文件
|
Trial
无认证、试用
|
限定符和类型 | 方法和说明 |
---|---|
protected abstract LicenseSelector |
create() |
static License |
currentLicense() |
static void |
destroy() |
static void |
init() |
static void |
refresh() |
static void |
runLater(java.lang.Runnable runnable) |
static void |
scheduleCheck() |
static void |
stopLicense() |
static LicenseContext |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static LicenseContext[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final LicenseContext Trial
public static final LicenseContext Emb
public static final LicenseContext Dongle
public static final LicenseContext CloudLicense
public static LicenseContext[] values()
for (LicenseContext c : LicenseContext.values()) System.out.println(c);
public static LicenseContext valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。java.lang.IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException
- 如果参数为空值public static License currentLicense()
public static void refresh()
public static void init()
public static void stopLicense()
public static void destroy()
public static void scheduleCheck()
protected abstract LicenseSelector create()
public static void runLater(java.lang.Runnable runnable)