Package io.split.engine.sse.dtos
Enum IncomingNotification.Type
- java.lang.Object
-
- java.lang.Enum<IncomingNotification.Type>
-
- io.split.engine.sse.dtos.IncomingNotification.Type
-
- All Implemented Interfaces:
Serializable,Comparable<IncomingNotification.Type>
- Enclosing class:
- IncomingNotification
public static enum IncomingNotification.Type extends Enum<IncomingNotification.Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONTROLOCCUPANCYRB_SEGMENT_UPDATESEGMENT_UPDATESPLIT_KILLSPLIT_UPDATE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IncomingNotification.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static IncomingNotification.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SPLIT_UPDATE
public static final IncomingNotification.Type SPLIT_UPDATE
-
RB_SEGMENT_UPDATE
public static final IncomingNotification.Type RB_SEGMENT_UPDATE
-
SPLIT_KILL
public static final IncomingNotification.Type SPLIT_KILL
-
SEGMENT_UPDATE
public static final IncomingNotification.Type SEGMENT_UPDATE
-
CONTROL
public static final IncomingNotification.Type CONTROL
-
OCCUPANCY
public static final IncomingNotification.Type OCCUPANCY
-
-
Method Detail
-
values
public static IncomingNotification.Type[] 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 (IncomingNotification.Type c : IncomingNotification.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IncomingNotification.Type 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
-
-