Enum Class StubStatus
- All Implemented Interfaces:
Serializable,Comparable<StubStatus>,Constable
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.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionscanMockswas disabled, so no stub evidence was gathered this run.scanMockswas enabled but no matching stub mapping was found this run.A matching WireMock stub mapping was found this run. -
Method Summary
Modifier and TypeMethodDescriptionstatic StubStatusReturns the enum constant of this class with the specified name.static StubStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STUBBED
A matching WireMock stub mapping was found this run. -
NOT_STUBBED
scanMockswas enabled but no matching stub mapping was found this run. -
NOT_SCANNED
scanMockswas disabled, so no stub evidence was gathered this run.
-
-
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
-