Enum Class Confidence

java.lang.Object
java.lang.Enum<Confidence>
com.eqixiac.equinix.design.estate.Confidence
All Implemented Interfaces:
Serializable, Comparable<Confidence>, Constable

public enum Confidence extends Enum<Confidence>
How sure the analyser is that an EstateFinding is right.
  • Enum Constant Details

    • LOW

      public static final Confidence LOW
      Inferred from partial data or reference prices.
    • MEDIUM

      public static final Confidence MEDIUM
      Based on live inventory, but with an assumption that matters (for example a reference price).
    • HIGH

      public static final Confidence HIGH
      Based on live inventory, measured utilisation and live or contract prices.
  • Method Details

    • values

      public static Confidence[] 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 Confidence 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
    • weight

      public double weight()
      The weight used when prioritising actions.
      Returns:
      0.4 (LOW) to 1.0 (HIGH)
    • min

      public Confidence min(Confidence other)
      The lower of two confidences.
      Parameters:
      other - the other confidence
      Returns:
      the lower one