Enum Class StubStatus

java.lang.Object
java.lang.Enum<StubStatus>
com.arc_e_tect.gradle.mirage.report.StubStatus
All Implemented Interfaces:
Serializable, Comparable<StubStatus>, Constable

public enum StubStatus extends Enum<StubStatus>
An excluded mirage's current-run WireMock stub status, shown in the == Excluded Mirage APIs report section. Always computed fresh from this run's stub scan - never sourced from contract history, since excluded endpoints are deliberately kept out of it.
  • Enum Constant Details

    • STUBBED

      public static final StubStatus STUBBED
      A matching WireMock stub mapping was found this run.
    • NOT_STUBBED

      public static final StubStatus NOT_STUBBED
      scanMocks was enabled but no matching stub mapping was found this run.
    • NOT_SCANNED

      public static final StubStatus NOT_SCANNED
      scanMocks was disabled, so no stub evidence was gathered this run.
  • Method Details

    • values

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