public static enum UntilNodeConfig.ConfigType extends Enum<UntilNodeConfig.ConfigType>
Enum Constant and Description |
---|
DISTANCE
An Until node where the until condition is true once a given distance is reached.
|
EXPRESSION
An Until node where the until condition is true once the evaluation of an expression is true.
|
IO_INPUT
An Until node where the until condition is true once a given I/O reaches a certain value.
|
NONE
An undefined Until node with no type set yet.
|
REACHED_WAYPOINT
An Until node where the until condition is true once its parent Waypoint is reached.
|
TOOL_CONTACT
An Until node where the until condition is true once an impact on the Tool is detected.
|
Modifier and Type | Method and Description |
---|---|
static UntilNodeConfig.ConfigType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UntilNodeConfig.ConfigType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UntilNodeConfig.ConfigType NONE
public static final UntilNodeConfig.ConfigType EXPRESSION
An Until node where the until condition is true once the evaluation of an expression is true.
The config instance can be cast toExpressionUntilNodeConfig
.public static final UntilNodeConfig.ConfigType DISTANCE
An Until node where the until condition is true once a given distance is reached.
The config can be cast toDistanceUntilNodeConfig
.public static final UntilNodeConfig.ConfigType REACHED_WAYPOINT
An Until node where the until condition is true once its parent Waypoint is reached.
The config can be cast toReachedWaypointUntilNodeConfig
.public static final UntilNodeConfig.ConfigType IO_INPUT
An Until node where the until condition is true once a given I/O reaches a certain value.
The config can be cast toIOInputUntilNodeConfig
.public static final UntilNodeConfig.ConfigType TOOL_CONTACT
An Until node where the until condition is true once an impact on the Tool is detected.
This functionality is not supported by the API.public static UntilNodeConfig.ConfigType[] values()
for (UntilNodeConfig.ConfigType c : UntilNodeConfig.ConfigType.values()) System.out.println(c);
public static UntilNodeConfig.ConfigType 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 © 2020. All rights reserved.