Enum Signal.SignalType
- java.lang.Object
-
- java.lang.Enum<Signal.SignalType>
-
- pl.allegro.tech.hermes.consumers.supervisor.process.Signal.SignalType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Signal.SignalType>
- Enclosing class:
- Signal
public static enum Signal.SignalType extends java.lang.Enum<Signal.SignalType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMMITRETRANSMITSTARTSTOPUPDATE_SUBSCRIPTIONUPDATE_TOPIC
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Signal.SignalTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Signal.SignalType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
START
public static final Signal.SignalType START
-
STOP
public static final Signal.SignalType STOP
-
RETRANSMIT
public static final Signal.SignalType RETRANSMIT
-
UPDATE_SUBSCRIPTION
public static final Signal.SignalType UPDATE_SUBSCRIPTION
-
UPDATE_TOPIC
public static final Signal.SignalType UPDATE_TOPIC
-
COMMIT
public static final Signal.SignalType COMMIT
-
-
Method Detail
-
values
public static Signal.SignalType[] 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 (Signal.SignalType c : Signal.SignalType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Signal.SignalType valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-