public static enum CmsLockInfo.State extends java.lang.Enum<CmsLockInfo.State>
枚举常量和说明 |
---|
changed
The resource has changed in the meantime.
|
locked
The resource was already locked by another user.
|
other
Some other error occurred.
|
success
The resource was successfully locked.
|
限定符和类型 | 方法和说明 |
---|---|
static CmsLockInfo.State |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static CmsLockInfo.State[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final CmsLockInfo.State locked
public static final CmsLockInfo.State changed
public static final CmsLockInfo.State success
public static final CmsLockInfo.State other
public static CmsLockInfo.State[] values()
for (CmsLockInfo.State c : CmsLockInfo.State.values()) System.out.println(c);
public static CmsLockInfo.State valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。如果该枚举类型没有带有指定名称的常量,
- 则抛出 IllegalArgumentException如果参数为空值,
- 则抛出 NullPointerException