Enum Class PlanValidator.LiveFailureKind

java.lang.Object
java.lang.Enum<PlanValidator.LiveFailureKind>
com.eqixiac.equinix.design.optimizer.wizard.PlanValidator.LiveFailureKind
All Implemented Interfaces:
Serializable, Comparable<PlanValidator.LiveFailureKind>, Constable
Enclosing class:
PlanValidator

public static enum PlanValidator.LiveFailureKind extends Enum<PlanValidator.LiveFailureKind>
Whether a live-layer failure is a genuine rejection (a plan defect) or an infeasibility (a skip).
  • Enum Constant Details

    • REJECTION

      public static final PlanValidator.LiveFailureKind REJECTION
      A genuine API rejection of a well-formed request - the plan is wrong; record an ERROR.
    • INFEASIBLE

      public static final PlanValidator.LiveFailureKind INFEASIBLE
      Not entitled / not authed / throttled / server-side / transport - record a SKIPPED(reason).
  • Method Details

    • values

      public static PlanValidator.LiveFailureKind[] 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 PlanValidator.LiveFailureKind 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