Package energy.eddie.api.v0
Enum Class PermissionProcessStatus
- All Implemented Interfaces:
Serializable,Comparable<PermissionProcessStatus>,Constable
Implements the status of the Permission Process Model.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe user accepted the permission request.Permission Request has been created, but not validated or sent to a permission administratorThe external termination process was successful.The external termination process failed.The permission request has been fulfilled, i.e.The permission request is not formatted correctly or contains semantic errors and is invalid.The permission request is malformed.The user rejected the permission request.A follow-up state forUNFULFILLABLE, FULFILLED, TERMINATED, since sometimes these states have to be externally terminated.The user revoked the permission via the permission administrator or the permission administrator themselves removed the permission.The permission request is now being processed by the PA.The permission was terminated via the eligible party.A user can forgo the option of accepting a permission request.We are unable to send the permission request to the permission administrator.The permission request specifies energy data that is not available for that final customer.The permission request has been validated. -
Method Summary
Modifier and TypeMethodDescriptionstatic PermissionProcessStatusReturns the enum constant of this class with the specified name.static PermissionProcessStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CREATED
Permission Request has been created, but not validated or sent to a permission administrator -
VALIDATED
The permission request has been validated. It contains only valid values at this point of the process. -
MALFORMED
The permission request is malformed. If the user tries to re-send we can reattempt to validate it. -
UNABLE_TO_SEND
We are unable to send the permission request to the permission administrator. Could be due to a service outage or a network issue. -
SENT_TO_PERMISSION_ADMINISTRATOR
The permission request is now being processed by the PA. -
TIMED_OUT
A user can forgo the option of accepting a permission request. In that case the request will time out. -
ACCEPTED
The user accepted the permission request. -
REJECTED
The user rejected the permission request. -
INVALID
The permission request is not formatted correctly or contains semantic errors and is invalid. -
REVOKED
The user revoked the permission via the permission administrator or the permission administrator themselves removed the permission. -
TERMINATED
The permission was terminated via the eligible party. -
FULFILLED
The permission request has been fulfilled, i.e. all data has been delivered. -
UNFULFILLABLE
The permission request specifies energy data that is not available for that final customer. -
REQUIRES_EXTERNAL_TERMINATION
A follow-up state forUNFULFILLABLE, FULFILLED, TERMINATED, since sometimes these states have to be externally terminated. -
FAILED_TO_TERMINATE
The external termination process failed. -
EXTERNALLY_TERMINATED
The external termination process was successful.
-
-
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
-