java.lang.Object
java.lang.Enum<ParameterInstanceRef.InstanceRelativeTo>
org.yamcs.xtce.ParameterInstanceRef.InstanceRelativeTo
- All Implemented Interfaces:
Serializable,Comparable<ParameterInstanceRef.InstanceRelativeTo>,Constable
- Enclosing class:
ParameterInstanceRef
public static enum ParameterInstanceRef.InstanceRelativeTo
extends Enum<ParameterInstanceRef.InstanceRelativeTo>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThis is the same as CURRENT_ENTRY_WITHIN_PACKET but not restricted to the current packet.The instance field counts negatively from the current entry. 0 means the last instance.The instance field counts positively from the beginning of the packet.The instance field counts positively from the beginning of the packet. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PACKET_START_WITHIN_PACKET
The instance field counts positively from the beginning of the packet.Negative values are not allowed.
-
PACKET_START_ACROSS_PACKETS
The instance field counts positively from the beginning of the packet.Negative values means previously received data (with the possibility of missing packets, which may result in retrieving older values than intended)
-
CURRENT_ENTRY_WITHIN_PACKET
The instance field counts negatively from the current entry. 0 means the last instance. Strictly positive values are not allowed.The lookup stops in the current packet, values from previous packets are not considered.
-
CURRENT_ENTRY_ACROSS_PACKETS
This is the same as CURRENT_ENTRY_WITHIN_PACKET but not restricted to the current packet.The lookup continues to the previous packets (with the possibility of missing packets, which may result in retrieving older values than intended).
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-