public static enum PathCalculationResult.Type extends java.lang.Enum<PathCalculationResult.Type>
Enum Constant and Description |
---|
CANCELLATION |
EXCEPTION |
FAILURE |
SUCCESS_SEGMENT |
SUCCESS_TO_GOAL |
Modifier and Type | Method and Description |
---|---|
static PathCalculationResult.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PathCalculationResult.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PathCalculationResult.Type SUCCESS_TO_GOAL
public static final PathCalculationResult.Type SUCCESS_SEGMENT
public static final PathCalculationResult.Type FAILURE
public static final PathCalculationResult.Type CANCELLATION
public static final PathCalculationResult.Type EXCEPTION
public static PathCalculationResult.Type[] values()
for (PathCalculationResult.Type c : PathCalculationResult.Type.values()) System.out.println(c);
public static PathCalculationResult.Type valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null