Enum Class NuggetAdminOutcome

java.lang.Object
java.lang.Enum<NuggetAdminOutcome>
org.j7m.middleware.operations.api.NuggetAdminOutcome
All Implemented Interfaces:
Serializable, Comparable<NuggetAdminOutcome>, Constable

public enum NuggetAdminOutcome extends Enum<NuggetAdminOutcome>
Common public outcome vocabulary for nugget administration results.

The values are intentionally broader than a single operation family so JSON and future adapters can classify results consistently while preserving the more specific typed result payloads. The outcome is descriptive only; it does not imply authentication, authorization, retry safety, or successful mutation unless the typed payload also says so.

  • Enum Constant Details

    • ACCEPTED

      public static final NuggetAdminOutcome ACCEPTED
      The operation was accepted for evaluation or asynchronous execution.
    • IN_PROGRESS

      public static final NuggetAdminOutcome IN_PROGRESS
      The operation remains in progress.
    • COMPLETED

      public static final NuggetAdminOutcome COMPLETED
      The operation completed with a terminal successful result.
    • DENIED

      public static final NuggetAdminOutcome DENIED
      Admission, authorization, target, state, or confirmation policy denied the operation.
    • UNAVAILABLE

      public static final NuggetAdminOutcome UNAVAILABLE
      The selected provider or nugget cannot evaluate the requested operation.
    • TIMED_OUT

      public static final NuggetAdminOutcome TIMED_OUT
      The operation exceeded its request or server-side budget.
    • PARTIAL

      public static final NuggetAdminOutcome PARTIAL
      The response contains only part of the available authorized data.
    • OUTCOME_UNKNOWN

      public static final NuggetAdminOutcome OUTCOME_UNKNOWN
      The final outcome is not known.
  • Method Details

    • values

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