Package org.yamcs.protobuf
Enum AlarmNotificationType
- java.lang.Object
-
- java.lang.Enum<AlarmNotificationType>
-
- org.yamcs.protobuf.AlarmNotificationType
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<AlarmNotificationType>
public enum AlarmNotificationType extends Enum<AlarmNotificationType> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumyamcs.protobuf.alarms.AlarmNotificationType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACKNOWLEDGEDWhenever somebody acknowledged an alarm (it could be that it is still OOL)ACTIVEInitial active alarms at the moment of requestCLEAREDWhen the alarm was really cleared by the server (acknowledged && not OOL)RESETwhen a latching alarm has been resetRTNWhen the parameter that triggered the alarm has returned to normal (the alarm may still be triggered if it has not been acknowledged)SEVERITY_INCREASEDWhenever an alarm jumps severitySHELVEDwhen the alarm has been shelvedTRIGGEREDWhenever a new alarm triggersUNSHELVEDwhen the alarm has been unshelved (either by operator request or automatically at timer expiration)VALUE_UPDATEDWhenever a value is updated (even if that value is not a violation by itself)
-
Field Summary
Fields Modifier and Type Field Description static intACKNOWLEDGED_VALUEWhenever somebody acknowledged an alarm (it could be that it is still OOL)static intACTIVE_VALUEInitial active alarms at the moment of requeststatic intCLEARED_VALUEWhen the alarm was really cleared by the server (acknowledged && not OOL)static intRESET_VALUEwhen a latching alarm has been resetstatic intRTN_VALUEWhen the parameter that triggered the alarm has returned to normal (the alarm may still be triggered if it has not been acknowledged)static intSEVERITY_INCREASED_VALUEWhenever an alarm jumps severitystatic intSHELVED_VALUEwhen the alarm has been shelvedstatic intTRIGGERED_VALUEWhenever a new alarm triggersstatic intUNSHELVED_VALUEwhen the alarm has been unshelved (either by operator request or automatically at timer expiration)static intVALUE_UPDATED_VALUEWhenever a value is updated (even if that value is not a violation by itself)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static AlarmNotificationTypeforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<AlarmNotificationType>internalGetValueMap()static AlarmNotificationTypevalueOf(int value)Deprecated.static AlarmNotificationTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static AlarmNotificationTypevalueOf(String name)Returns the enum constant of this type with the specified name.static AlarmNotificationType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACTIVE
public static final AlarmNotificationType ACTIVE
Initial active alarms at the moment of request
ACTIVE = 1;
-
TRIGGERED
public static final AlarmNotificationType TRIGGERED
Whenever a new alarm triggers
TRIGGERED = 2;
-
SEVERITY_INCREASED
public static final AlarmNotificationType SEVERITY_INCREASED
Whenever an alarm jumps severity
SEVERITY_INCREASED = 3;
-
VALUE_UPDATED
public static final AlarmNotificationType VALUE_UPDATED
Whenever a value is updated (even if that value is not a violation by itself)
VALUE_UPDATED = 4;
-
ACKNOWLEDGED
public static final AlarmNotificationType ACKNOWLEDGED
Whenever somebody acknowledged an alarm (it could be that it is still OOL)
ACKNOWLEDGED = 5;
-
CLEARED
public static final AlarmNotificationType CLEARED
When the alarm was really cleared by the server (acknowledged && not OOL)
CLEARED = 6;
-
RTN
public static final AlarmNotificationType 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
public static final AlarmNotificationType SHELVED
when the alarm has been shelved
SHELVED = 8;
-
UNSHELVED
public static final AlarmNotificationType UNSHELVED
when the alarm has been unshelved (either by operator request or automatically at timer expiration)
UNSHELVED = 9;
-
RESET
public static final AlarmNotificationType RESET
when a latching alarm has been reset
RESET = 10;
-
-
Field Detail
-
ACTIVE_VALUE
public static final int ACTIVE_VALUE
Initial active alarms at the moment of request
ACTIVE = 1;- See Also:
- Constant Field Values
-
TRIGGERED_VALUE
public static final int TRIGGERED_VALUE
Whenever a new alarm triggers
TRIGGERED = 2;- See Also:
- Constant Field Values
-
SEVERITY_INCREASED_VALUE
public static final int SEVERITY_INCREASED_VALUE
Whenever an alarm jumps severity
SEVERITY_INCREASED = 3;- See Also:
- Constant Field Values
-
VALUE_UPDATED_VALUE
public static final int VALUE_UPDATED_VALUE
Whenever a value is updated (even if that value is not a violation by itself)
VALUE_UPDATED = 4;- See Also:
- Constant Field Values
-
ACKNOWLEDGED_VALUE
public static final int ACKNOWLEDGED_VALUE
Whenever somebody acknowledged an alarm (it could be that it is still OOL)
ACKNOWLEDGED = 5;- See Also:
- Constant Field Values
-
CLEARED_VALUE
public static final int CLEARED_VALUE
When the alarm was really cleared by the server (acknowledged && not OOL)
CLEARED = 6;- See Also:
- Constant Field Values
-
RTN_VALUE
public static final int RTN_VALUE
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;- See Also:
- Constant Field Values
-
SHELVED_VALUE
public static final int SHELVED_VALUE
when the alarm has been shelved
SHELVED = 8;- See Also:
- Constant Field Values
-
UNSHELVED_VALUE
public static final int UNSHELVED_VALUE
when the alarm has been unshelved (either by operator request or automatically at timer expiration)
UNSHELVED = 9;- See Also:
- Constant Field Values
-
RESET_VALUE
public static final int RESET_VALUE
when a latching alarm has been reset
RESET = 10;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static AlarmNotificationType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AlarmNotificationType c : AlarmNotificationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AlarmNotificationType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static AlarmNotificationType valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
public static AlarmNotificationType forNumber(int value)
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<AlarmNotificationType> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein 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 type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
-