Enum HotRodSessionState
- java.lang.Object
-
- java.lang.Enum<HotRodSessionState>
-
- org.keycloak.models.map.storage.hotRod.userSession.HotRodSessionState
-
- All Implemented Interfaces:
Serializable
,Comparable<HotRodSessionState>
public enum HotRodSessionState extends Enum<HotRodSessionState>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LOGGED_IN
LOGGED_OUT
LOGGED_OUT_UNCONFIRMED
LOGGING_OUT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HotRodSessionState
valueOf(String name)
Returns the enum constant of this type with the specified name.static HotRodSessionState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LOGGED_IN
@ProtoEnumValue(number=0) public static final HotRodSessionState LOGGED_IN
-
LOGGING_OUT
@ProtoEnumValue(number=1) public static final HotRodSessionState LOGGING_OUT
-
LOGGED_OUT
@ProtoEnumValue(number=2) public static final HotRodSessionState LOGGED_OUT
-
LOGGED_OUT_UNCONFIRMED
@ProtoEnumValue(number=3) public static final HotRodSessionState LOGGED_OUT_UNCONFIRMED
-
-
Method Detail
-
values
public static HotRodSessionState[] 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 (HotRodSessionState c : HotRodSessionState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HotRodSessionState 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
-
-