public enum WebSocketEventType extends Enum<WebSocketEventType>
| Enum Constant and Description |
|---|
CONTINUE_TASK |
FINISH_TASK |
RESULT_GENERATED |
RUN_TASK |
TASK_FAILED |
TASK_FINISHED |
TASK_STARTED |
| Modifier and Type | Method and Description |
|---|---|
String |
getValue() |
static WebSocketEventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WebSocketEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WebSocketEventType TASK_STARTED
public static final WebSocketEventType RESULT_GENERATED
public static final WebSocketEventType TASK_FINISHED
public static final WebSocketEventType FINISH_TASK
public static final WebSocketEventType TASK_FAILED
public static final WebSocketEventType RUN_TASK
public static final WebSocketEventType CONTINUE_TASK
public static WebSocketEventType[] values()
for (WebSocketEventType c : WebSocketEventType.values()) System.out.println(c);
public static WebSocketEventType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getValue()
Copyright © 2023. All rights reserved.