public enum AntennaTargetingResultReason extends Enum<AntennaTargetingResultReason> implements Enumeration
CommunicationSystem
has failed.Enum Constant and Description |
---|
ISET_ORIENTATION_AXES_NOT_AVAILABLE
The antenna does not support the required
ISetOrientationAxesService for setting orientation. |
SUCCESS
The antenna was oriented to target the antenna it is communicating with.
|
TARGETS_MULTIPLE_ANTENNAS
The antenna could not be oriented because it is communicating with multiple antennas and the ideal
orientation can not be automatically computed.
|
Modifier and Type | Method and Description |
---|---|
static AntennaTargetingResultReason |
getDefault()
Get the enum constant that is considered to be the default.
|
static AntennaTargetingResultReason |
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 AntennaTargetingResultReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AntennaTargetingResultReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AntennaTargetingResultReason SUCCESS
public static final AntennaTargetingResultReason TARGETS_MULTIPLE_ANTENNAS
public static final AntennaTargetingResultReason ISET_ORIENTATION_AXES_NOT_AVAILABLE
ISetOrientationAxesService
for setting orientation.public static AntennaTargetingResultReason[] values()
for (AntennaTargetingResultReason c : AntennaTargetingResultReason.values()) System.out.println(c);
public static AntennaTargetingResultReason 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 AntennaTargetingResultReason getFromValue(int value)
value
- a numeric value.@Nonnull public static AntennaTargetingResultReason getDefault()