public static enum RemoteRuleMetrics.RequestResult extends Enum<RemoteRuleMetrics.RequestResult>
Enum Constant and Description |
---|
DOWN |
ERROR |
INTERRUPTED |
SKIPPED |
SUCCESS |
TIMEOUT |
Modifier and Type | Method and Description |
---|---|
static RemoteRuleMetrics.RequestResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RemoteRuleMetrics.RequestResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RemoteRuleMetrics.RequestResult SUCCESS
public static final RemoteRuleMetrics.RequestResult SKIPPED
public static final RemoteRuleMetrics.RequestResult TIMEOUT
public static final RemoteRuleMetrics.RequestResult INTERRUPTED
public static final RemoteRuleMetrics.RequestResult DOWN
public static final RemoteRuleMetrics.RequestResult ERROR
public static RemoteRuleMetrics.RequestResult[] values()
for (RemoteRuleMetrics.RequestResult c : RemoteRuleMetrics.RequestResult.values()) System.out.println(c);
public static RemoteRuleMetrics.RequestResult 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 null