public enum TaskType extends Enum<TaskType>
Enum Constant and Description |
---|
BLOCKING |
FLATTEN |
FUSION |
RECOVER |
RETRY |
SHAREABLE |
TIMEOUT |
WITH_DELAY |
WITH_RECOVER |
WITH_RETRY |
WITH_SIDE_EFFECT |
WITH_TIMEOUT |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
static TaskType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TaskType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TaskType FUSION
public static final TaskType BLOCKING
public static final TaskType SHAREABLE
public static final TaskType FLATTEN
public static final TaskType WITH_SIDE_EFFECT
public static final TaskType RETRY
public static final TaskType WITH_RETRY
public static final TaskType TIMEOUT
public static final TaskType WITH_TIMEOUT
public static final TaskType RECOVER
public static final TaskType WITH_RECOVER
public static final TaskType WITH_DELAY
public static TaskType[] values()
for (TaskType c : TaskType.values()) System.out.println(c);
public static TaskType 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 getName()
Copyright © 2018. All rights reserved.