Package io.split.telemetry.domain.enums
Enum StreamEventsEnum
- java.lang.Object
-
- java.lang.Enum<StreamEventsEnum>
-
- io.split.telemetry.domain.enums.StreamEventsEnum
-
- All Implemented Interfaces:
Serializable,Comparable<StreamEventsEnum>
public enum StreamEventsEnum extends Enum<StreamEventsEnum>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStreamEventsEnum.SseConnectionErrorValuesstatic classStreamEventsEnum.StreamingStatusValuesstatic classStreamEventsEnum.SyncModeUpdateValues
-
Enum Constant Summary
Enum Constants Enum Constant Description ABLY_ERRORCONNECTION_ESTABLISHEDOCCUPANCY_PRIOCCUPANCY_SECSSE_CONNECTION_ERRORSTREAMING_STATUSSYNC_MODE_UPDATETOKEN_REFRESH
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetType()static StreamEventsEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static StreamEventsEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONNECTION_ESTABLISHED
public static final StreamEventsEnum CONNECTION_ESTABLISHED
-
OCCUPANCY_PRI
public static final StreamEventsEnum OCCUPANCY_PRI
-
OCCUPANCY_SEC
public static final StreamEventsEnum OCCUPANCY_SEC
-
STREAMING_STATUS
public static final StreamEventsEnum STREAMING_STATUS
-
SSE_CONNECTION_ERROR
public static final StreamEventsEnum SSE_CONNECTION_ERROR
-
TOKEN_REFRESH
public static final StreamEventsEnum TOKEN_REFRESH
-
ABLY_ERROR
public static final StreamEventsEnum ABLY_ERROR
-
SYNC_MODE_UPDATE
public static final StreamEventsEnum SYNC_MODE_UPDATE
-
-
Method Detail
-
values
public static StreamEventsEnum[] 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 (StreamEventsEnum c : StreamEventsEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StreamEventsEnum 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
-
getType
public int getType()
-
-