Package org.yamcs.protobuf
Enum Class AlarmNotificationType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<AlarmNotificationType>
,Constable
public enum AlarmNotificationType
extends Enum<AlarmNotificationType>
implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
yamcs.protobuf.alarms.AlarmNotificationType
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionWhenever somebody acknowledged an alarm (it could be that it is still OOL)Initial active alarms at the moment of requestWhen the alarm was really cleared by the server (acknowledged && not OOL)when a latching alarm has been resetWhen the parameter that triggered the alarm has returned to normal (the alarm may still be triggered if it has not been acknowledged)Whenever an alarm jumps severitywhen the alarm has been shelvedWhenever a new alarm triggerswhen the alarm has been unshelved (either by operator request or automatically at timer expiration)Whenever a value is updated (even if that value is not a violation by itself) -
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Whenever somebody acknowledged an alarm (it could be that it is still OOL)static final int
Initial active alarms at the moment of requeststatic final int
When the alarm was really cleared by the server (acknowledged && not OOL)static final int
when a latching alarm has been resetstatic final int
When the parameter that triggered the alarm has returned to normal (the alarm may still be triggered if it has not been acknowledged)static final int
Whenever an alarm jumps severitystatic final int
when the alarm has been shelvedstatic final int
Whenever a new alarm triggersstatic final int
when the alarm has been unshelved (either by operator request or automatically at timer expiration)static final int
Whenever a value is updated (even if that value is not a violation by itself) -
Method Summary
Modifier and TypeMethodDescriptionstatic AlarmNotificationType
forNumber
(int value) static final com.google.protobuf.Descriptors.EnumDescriptor
final com.google.protobuf.Descriptors.EnumDescriptor
final int
final com.google.protobuf.Descriptors.EnumValueDescriptor
static com.google.protobuf.Internal.EnumLiteMap<AlarmNotificationType>
static AlarmNotificationType
valueOf
(int value) Deprecated.static AlarmNotificationType
valueOf
(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static AlarmNotificationType
Returns the enum constant of this class with the specified name.static AlarmNotificationType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ACTIVE
Initial active alarms at the moment of request
ACTIVE = 1;
-
TRIGGERED
Whenever a new alarm triggers
TRIGGERED = 2;
-
SEVERITY_INCREASED
Whenever an alarm jumps severity
SEVERITY_INCREASED = 3;
-
VALUE_UPDATED
Whenever a value is updated (even if that value is not a violation by itself)
VALUE_UPDATED = 4;
-
ACKNOWLEDGED
Whenever somebody acknowledged an alarm (it could be that it is still OOL)
ACKNOWLEDGED = 5;
-
CLEARED
When the alarm was really cleared by the server (acknowledged && not OOL)
CLEARED = 6;
-
RTN
When the parameter that triggered the alarm has returned to normal (the alarm may still be triggered if it has not been acknowledged)
RTN = 7;
-
SHELVED
when the alarm has been shelved
SHELVED = 8;
-
UNSHELVED
when the alarm has been unshelved (either by operator request or automatically at timer expiration)
UNSHELVED = 9;
-
RESET
when a latching alarm has been reset
RESET = 10;
-
-
Field Details
-
ACTIVE_VALUE
public static final int ACTIVE_VALUEInitial active alarms at the moment of request
ACTIVE = 1;
- See Also:
-
TRIGGERED_VALUE
public static final int TRIGGERED_VALUEWhenever a new alarm triggers
TRIGGERED = 2;
- See Also:
-
SEVERITY_INCREASED_VALUE
public static final int SEVERITY_INCREASED_VALUEWhenever an alarm jumps severity
SEVERITY_INCREASED = 3;
- See Also:
-
VALUE_UPDATED_VALUE
public static final int VALUE_UPDATED_VALUEWhenever a value is updated (even if that value is not a violation by itself)
VALUE_UPDATED = 4;
- See Also:
-
ACKNOWLEDGED_VALUE
public static final int ACKNOWLEDGED_VALUEWhenever somebody acknowledged an alarm (it could be that it is still OOL)
ACKNOWLEDGED = 5;
- See Also:
-
CLEARED_VALUE
public static final int CLEARED_VALUEWhen the alarm was really cleared by the server (acknowledged && not OOL)
CLEARED = 6;
- See Also:
-
RTN_VALUE
public static final int RTN_VALUEWhen the parameter that triggered the alarm has returned to normal (the alarm may still be triggered if it has not been acknowledged)
RTN = 7;
- See Also:
-
SHELVED_VALUE
public static final int SHELVED_VALUEwhen the alarm has been shelved
SHELVED = 8;
- See Also:
-
UNSHELVED_VALUE
public static final int UNSHELVED_VALUEwhen the alarm has been unshelved (either by operator request or automatically at timer expiration)
UNSHELVED = 9;
- See Also:
-
RESET_VALUE
public static final int RESET_VALUEwhen a latching alarm has been reset
RESET = 10;
- See Also:
-
-
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
-
getNumber
public final int getNumber()- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.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:
value
- 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
-
forNumber
- Parameters:
value
- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static AlarmNotificationType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) 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:
desc
- 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
-