Enum Class MeasurementStatus

java.lang.Object
java.lang.Enum<MeasurementStatus>
org.cha0scollective.wwpg.api.MeasurementStatus
All Implemented Interfaces:
Serializable, Comparable<MeasurementStatus>, Constable

public enum MeasurementStatus extends Enum<MeasurementStatus>
Validity of a current electrical sample. Invalid samples contain no usable numbers.
  • Enum Constant Details

    • VALID

      public static final MeasurementStatus VALID
      Accepted solution, including a legitimate zero reading.
    • NOT_READY

      public static final MeasurementStatus NOT_READY
      Device, assembly, wire entities, or first electrical sample are not ready.
    • ISOLATED

      public static final MeasurementStatus ISOLATED
      Unsupported or invalid electrical description has been explicitly isolated.
    • SOLVE_FAILED

      public static final MeasurementStatus SOLVE_FAILED
      The affected network did not produce an accepted solution this tick.
  • Method Details

    • values

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