public enum VersionIsForceUpdateCode extends Enum<VersionIsForceUpdateCode>
| 枚举常量和说明 |
|---|
latestUpdateVersion
当前已是最新版本
|
needForceUpdate
需强制更新
|
noNeedForceUpdate
版本有更新但无需强制更新
|
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getValue() |
static VersionIsForceUpdateCode |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static VersionIsForceUpdateCode[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final VersionIsForceUpdateCode needForceUpdate
public static final VersionIsForceUpdateCode noNeedForceUpdate
public static final VersionIsForceUpdateCode latestUpdateVersion
public static VersionIsForceUpdateCode[] values()
for (VersionIsForceUpdateCode c : VersionIsForceUpdateCode.values()) System.out.println(c);
public static VersionIsForceUpdateCode valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public int getValue()
Copyright © 2017. All rights reserved.