public enum AgentResult extends Enum<AgentResult>
| Enum Constant and Description |
|---|
ACTION_FAIL |
ACTION_SUCCESS |
QUERY_RESULT_FALSE |
QUERY_RESULT_TRUE |
| Modifier and Type | Method and Description |
|---|---|
static AgentResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AgentResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AgentResult ACTION_FAIL
public static final AgentResult ACTION_SUCCESS
public static final AgentResult QUERY_RESULT_FALSE
public static final AgentResult QUERY_RESULT_TRUE
public static AgentResult[] values()
for (AgentResult c : AgentResult.values()) System.out.println(c);
public static AgentResult 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 nullCopyright © 2018–2022 CloudburstMC. All rights reserved.