public enum Operations extends Enum<Operations>
| 枚举常量和说明 |
|---|
COLLIDED_CANCEL
Collided cancel from EXECUTING to EXECUTE_COLLIDED
|
EXCEPTION_CANCEL
Exception cancel from EXECUTING to EXECUTE_EXCEPTION
|
MANUAL_CANCEL
Manual cancel from EXECUTING to MANUAL_CANCELED
|
PAUSE
Pause from EXECUTING to PAUSED
|
TRIGGER
Trigger from WAITING to EXECUTING
|
| 限定符和类型 | 方法和说明 |
|---|---|
ExecuteState |
fromState() |
boolean |
isNotTrigger() |
boolean |
isTrigger() |
ExecuteState |
toState() |
static Operations |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static Operations[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final Operations TRIGGER
public static final Operations PAUSE
public static final Operations EXCEPTION_CANCEL
public static final Operations COLLIDED_CANCEL
public static final Operations MANUAL_CANCEL
public static Operations[] values()
for (Operations c : Operations.values()) System.out.println(c);
public static Operations valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public ExecuteState fromState()
public ExecuteState toState()
public boolean isTrigger()
public boolean isNotTrigger()
Copyright © 2024. All rights reserved.