Enum Class ConnectionStatus
- All Implemented Interfaces:
Serializable,Comparable<ConnectionStatus>,Constable
Dynamic connection state of an
PermissionStatus.ACCEPTED permission. In contrast to the static
PermissionStatus, the connection state has no start or end point and may change as often as necessary. It is
not persisted, but derived at runtime from the start time of the permission and the state of its streamer.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe permission is connected to the given infrastructure.The permission is not connected to the given infrastructure, e.g.The permission waits to connect to the given infrastructure, as the start of the permission is scheduled at a later point in time. -
Method Summary
Modifier and TypeMethodDescriptionstatic ConnectionStatusReturns the enum constant of this class with the specified name.static ConnectionStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
WAITING_FOR_CONNECTION
The permission waits to connect to the given infrastructure, as the start of the permission is scheduled at a later point in time. -
NOT_CONNECTED
The permission is not connected to the given infrastructure, e.g. because the connection failed on start-up or was lost. -
CONNECTED
The permission is connected to the given infrastructure.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-