Package org.cha0scollective.wwpg.api
Enum Class MeasurementStatus
- All Implemented Interfaces:
Serializable,Comparable<MeasurementStatus>,Constable
Validity of a current electrical sample. Invalid samples contain no usable numbers.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionUnsupported or invalid electrical description has been explicitly isolated.Device, assembly, wire entities, or first electrical sample are not ready.The affected network did not produce an accepted solution this tick.Accepted solution, including a legitimate zero reading. -
Method Summary
Modifier and TypeMethodDescriptionstatic MeasurementStatusReturns the enum constant of this class with the specified name.static MeasurementStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
VALID
Accepted solution, including a legitimate zero reading. -
NOT_READY
Device, assembly, wire entities, or first electrical sample are not ready. -
ISOLATED
Unsupported or invalid electrical description has been explicitly isolated. -
SOLVE_FAILED
The affected network did not produce an accepted solution this tick.
-
-
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
-