Enum Class FormedCause

java.lang.Object
java.lang.Enum<FormedCause>
com.gtnewhorizons.horizonqa.api.event.state.FormedCause
All Implemented Interfaces:
Serializable, Comparable<FormedCause>, Constable

public enum FormedCause extends Enum<FormedCause>
Why a MachineFormed event was emitted. Lets readers distinguish the three legitimate sources.
  • Enum Constant Details

    • OBSERVED_ON_FIRST_POLL

      public static final FormedCause OBSERVED_ON_FIRST_POLL
      Controller already reported mMachine == true the first time the recorder polled it.
    • FORMED_DURING_WARP

      public static final FormedCause FORMED_DURING_WARP
      mMachine transitioned false → true during a time-warp pass.
    • FORCED_BY_ASSERTION

      public static final FormedCause FORCED_BY_ASSERTION
      assertFormed called checkStructure(true) and the controller then reported formed.
  • Method Details

    • values

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