public static enum TerrainAvoidanceProfile.ConfigurationData extends Enum<TerrainAvoidanceProfile.ConfigurationData> implements Enumeration
TerrainAvoidanceProfile
.Enum Constant and Description |
---|
HEIGHT_BELOW_MINIMUM
The height of the profile was above terrain at the boundaries, but the interior had
problems avoiding the terrain.
|
HEIGHT_BELOW_MINIMUM_ON_BOUNDARY
The boundary conditions of the profile were such that maintaining the minimum
height above the terrain was impossible.
|
INSUFFICIENT_SPACE_TO_SATISFY_PROFILE_CONDITIONS
There was insufficient space to satisfy the specified conditions of the profile.
|
SUCCESSFUL
Configuration was successful.
|
UNKNOWN
There was an unknown error during configuration.
|
Modifier and Type | Method and Description |
---|---|
static TerrainAvoidanceProfile.ConfigurationData |
getDefault()
Get the enum constant that is considered to be the default.
|
static TerrainAvoidanceProfile.ConfigurationData |
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 TerrainAvoidanceProfile.ConfigurationData |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TerrainAvoidanceProfile.ConfigurationData[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TerrainAvoidanceProfile.ConfigurationData SUCCESSFUL
public static final TerrainAvoidanceProfile.ConfigurationData UNKNOWN
public static final TerrainAvoidanceProfile.ConfigurationData INSUFFICIENT_SPACE_TO_SATISFY_PROFILE_CONDITIONS
public static final TerrainAvoidanceProfile.ConfigurationData HEIGHT_BELOW_MINIMUM_ON_BOUNDARY
public static final TerrainAvoidanceProfile.ConfigurationData HEIGHT_BELOW_MINIMUM
public static TerrainAvoidanceProfile.ConfigurationData[] values()
for (TerrainAvoidanceProfile.ConfigurationData c : TerrainAvoidanceProfile.ConfigurationData.values()) System.out.println(c);
public static TerrainAvoidanceProfile.ConfigurationData 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 TerrainAvoidanceProfile.ConfigurationData getFromValue(int value)
value
- a numeric value.@Nonnull public static TerrainAvoidanceProfile.ConfigurationData getDefault()