public enum Strategy extends Enum<Strategy>
| Enum Constant and Description |
|---|
CONCURRENT_EXECUTION
并行
|
COVER_EARLY
覆盖
|
DISCARD_LATER
丢弃
|
SERIAL_EXECUTION
串行
|
| Modifier and Type | Method and Description |
|---|---|
String |
getTitle() |
static Strategy |
match(String name,
Strategy defaultItem) |
void |
setTitle(String title) |
static Strategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Strategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Strategy SERIAL_EXECUTION
public static final Strategy CONCURRENT_EXECUTION
public static final Strategy DISCARD_LATER
public static final Strategy COVER_EARLY
public static Strategy[] values()
for (Strategy c : Strategy.values()) System.out.println(c);
public static Strategy 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 getTitle()
public void setTitle(String title)
Copyright © 2021. All rights reserved.