public enum SpeedConfigurationStatus extends Enum<SpeedConfigurationStatus> implements Enumeration
Enum Constant and Description |
---|
BOTH_SPEEDS_UNMATCHED
Both the initial and final speeds of the current profile do not match the surrounding profiles.
|
DYNAMICS_MATCH
The dynamics match between the segments.
|
FINAL_SPEED_UNMATCHED
The final speed of the current profile is discontinuous.
|
INITIAL_SPEED_UNMATCHED
The initial speed of the current profile is discontinuous.
|
UNKNOWN
An unknown error occurred while trying to configure the segment.
|
VIOLATES_PROFILE_DYNAMICS
The profile cannot match the dynamics at either the initial or final conditions.
|
Modifier and Type | Method and Description |
---|---|
static SpeedConfigurationStatus |
getDefault()
Get the enum constant that is considered to be the default.
|
static SpeedConfigurationStatus |
getFromValue(int value)
Get the enum constant that is associated with the given numeric value.
|
int |
getValue()
Get the numeric value associated with this enum constant.
|
static SpeedConfigurationStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SpeedConfigurationStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpeedConfigurationStatus DYNAMICS_MATCH
public static final SpeedConfigurationStatus INITIAL_SPEED_UNMATCHED
public static final SpeedConfigurationStatus FINAL_SPEED_UNMATCHED
public static final SpeedConfigurationStatus BOTH_SPEEDS_UNMATCHED
public static final SpeedConfigurationStatus VIOLATES_PROFILE_DYNAMICS
public static final SpeedConfigurationStatus UNKNOWN
public static SpeedConfigurationStatus[] values()
for (SpeedConfigurationStatus c : SpeedConfigurationStatus.values()) System.out.println(c);
public static SpeedConfigurationStatus 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 nullpublic int getValue()
getValue
in interface Enumeration
@Nonnull public static SpeedConfigurationStatus getFromValue(int value)
value
- a numeric value.@Nonnull public static SpeedConfigurationStatus getDefault()