Record Class ExcludedMirage
java.lang.Object
java.lang.Record
com.arc_e_tect.gradle.mirage.report.ExcludedMirage
- Record Components:
endpoint- the excluded, described-but-unimplemented endpointstubStatus- the endpoint's current-run WireMock stub status
public record ExcludedMirage(com.arc_e_tect.gradle.detector.core.openapi.DescribedEndpoint endpoint, StubStatus stubStatus)
extends Record
One mirage API excluded from
== Mirage APIs/failOnMirage by a configured
exclusion rule, paired with its current-run StubStatus for display in the
== Excluded Mirage APIs report section.-
Constructor Summary
ConstructorsConstructorDescriptionExcludedMirage(com.arc_e_tect.gradle.detector.core.openapi.DescribedEndpoint endpoint, StubStatus stubStatus) Creates an instance of aExcludedMiragerecord class. -
Method Summary
Modifier and TypeMethodDescriptioncom.arc_e_tect.gradle.detector.core.openapi.DescribedEndpointendpoint()Returns the value of theendpointrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thestubStatusrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ExcludedMirage
public ExcludedMirage(com.arc_e_tect.gradle.detector.core.openapi.DescribedEndpoint endpoint, StubStatus stubStatus) Creates an instance of aExcludedMiragerecord class.- Parameters:
endpoint- the value for theendpointrecord componentstubStatus- the value for thestubStatusrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
endpoint
public com.arc_e_tect.gradle.detector.core.openapi.DescribedEndpoint endpoint()Returns the value of theendpointrecord component.- Returns:
- the value of the
endpointrecord component
-
stubStatus
Returns the value of thestubStatusrecord component.- Returns:
- the value of the
stubStatusrecord component
-