public enum BehaviorStatus extends Enum<BehaviorStatus>
Enum Constant and Description |
---|
FAILURE
Indicates that the
Behavior has failed unrecoverably. |
RESET_AND_REMOVE
|
RUNNING
Indicates that the
Behavior is still running and should be continued next tick. |
SUCCESS
Indicates that the
Behavior has succeeded and can be terminated. |
Modifier and Type | Method and Description |
---|---|
static BehaviorStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BehaviorStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BehaviorStatus FAILURE
Behavior
has failed unrecoverably.public static final BehaviorStatus RESET_AND_REMOVE
public static final BehaviorStatus RUNNING
Behavior
is still running and should be continued next tick.public static final BehaviorStatus SUCCESS
Behavior
has succeeded and can be terminated.public static BehaviorStatus[] values()
for (BehaviorStatus c : BehaviorStatus.values()) System.out.println(c);
public static BehaviorStatus 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 © 2021. All rights reserved.