Enum Class NuggetAuthenticationOutcome
java.lang.Object
java.lang.Enum<NuggetAuthenticationOutcome>
org.j7m.middleware.operations.api.NuggetAuthenticationOutcome
- All Implemented Interfaces:
Serializable, Comparable<NuggetAuthenticationOutcome>, Constable
Stable outcome of a nugget PIN admission request.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionPIN admission succeeded.The request was malformed or exceeded configured bounds.PIN admission was rejected.The attempt was throttled before verification completed.The admission service was not available. -
Method Summary
Modifier and TypeMethodDescriptionstatic NuggetAuthenticationOutcomeReturns the enum constant of this class with the specified name.static NuggetAuthenticationOutcome[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ACCEPTED
PIN admission succeeded. -
REJECTED
PIN admission was rejected. -
THROTTLED
The attempt was throttled before verification completed. -
UNAVAILABLE
The admission service was not available. -
INVALID_REQUEST
The request was malformed or exceeded configured bounds.
-
-
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
-