Enum ImmutableSessionDataI.TerminationReason
- Object
-
- Enum<ImmutableSessionDataI.TerminationReason>
-
- TerminationReason
-
- All Implemented Interfaces:
Serializable
,Comparable<ImmutableSessionDataI.TerminationReason>
- Enclosing interface:
- ImmutableSessionDataI
public static enum ImmutableSessionDataI.TerminationReason extends Enum<ImmutableSessionDataI.TerminationReason>
Possible reasons for termination of a session.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ImmutableSessionDataI.TerminationReason
valueOf(String name)
Returns the enum constant of this type with the specified name.static ImmutableSessionDataI.TerminationReason[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TIMEOUT
public static final ImmutableSessionDataI.TerminationReason TIMEOUT
Session timeout reached.
-
INTERNAL
public static final ImmutableSessionDataI.TerminationReason INTERNAL
Terminated on internal request (that is, session timeout set to zero by solution scripting).
-
EXTERNAL
public static final ImmutableSessionDataI.TerminationReason EXTERNAL
Terminated on external session termination request.
-
-
Method Detail
-
values
public static ImmutableSessionDataI.TerminationReason[] 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 (ImmutableSessionDataI.TerminationReason c : ImmutableSessionDataI.TerminationReason.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ImmutableSessionDataI.TerminationReason 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
-
-