Enum Class PermissionStatus

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

public enum PermissionStatus extends Enum<PermissionStatus>
  • Enum Constant Details

    • CREATED

      public static final PermissionStatus CREATED
      The permission has been created on AIIDA.
    • FETCHED_DETAILS

      public static final PermissionStatus FETCHED_DETAILS
      The details, like start and end date, of the permission have been fetched from the EDDIE framework.
    • UNFULFILLABLE

      public static final PermissionStatus UNFULFILLABLE
      This AIIDA instance is unable to fulfill the permission request, e.g. because the requested data is not available.
    • ACCEPTED

      public static final PermissionStatus ACCEPTED
      The user accepted the permission request.
    • FETCHED_MQTT_CREDENTIALS

      public static final PermissionStatus FETCHED_MQTT_CREDENTIALS
      The MQTT credentials and topics for the permission have been fetched from the EDDIE framework.
    • WAITING_FOR_START

      public static final PermissionStatus WAITING_FOR_START
      The customer has accepted the permission but the start time for sharing data is still in the future.
    • STREAMING_DATA

      public static final PermissionStatus STREAMING_DATA
      The permission has been accepted and data is now actively streamed to the eligible party.
    • REJECTED

      public static final PermissionStatus REJECTED
      The user rejected the permission request.
    • REVOKED

      public static final PermissionStatus REVOKED
      The user revoked the permission.
    • TERMINATED

      public static final PermissionStatus TERMINATED
      The permission was terminated by the eligible party.
    • FULFILLED

      public static final PermissionStatus FULFILLED
      The expiration time of the permission was reached.
    • FAILED_TO_START

      public static final PermissionStatus FAILED_TO_START
      An error occurred and the permission could not be started.
  • Method Details

    • values

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