Enum Class ConnectionStatus

java.lang.Object
java.lang.Enum<ConnectionStatus>
energy.eddie.aiida.models.permission.ConnectionStatus
All Implemented Interfaces:
Serializable, Comparable<ConnectionStatus>, Constable

public enum ConnectionStatus extends Enum<ConnectionStatus>
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.
  • Enum Constant Details

    • WAITING_FOR_CONNECTION

      public static final ConnectionStatus 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

      public static final ConnectionStatus NOT_CONNECTED
      The permission is not connected to the given infrastructure, e.g. because the connection failed on start-up or was lost.
    • CONNECTED

      public static final ConnectionStatus CONNECTED
      The permission is connected to the given infrastructure.
  • Method Details

    • values

      public static ConnectionStatus[] 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

      public static ConnectionStatus valueOf(String name)
      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 name
      NullPointerException - if the argument is null