Record Class DiscoveryWarning
java.lang.Object
java.lang.Record
io.micronaut.jsonschema.generator.discovery.DiscoveryWarning
- Record Components:
scope- Provider-defined warning scopename- Input object namestep- Pipeline stepcode- Warning codemessage- Warning message
-
Constructor Summary
ConstructorsConstructorDescriptionDiscoveryWarning(String scope, String name, DiscoveryStep step, String code, String message) Creates an instance of aDiscoveryWarningrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncode()Returns the value of thecoderecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.message()Returns the value of themessagerecord component.name()Returns the value of thenamerecord component.scope()Returns the value of thescoperecord component.step()Returns the value of thesteprecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
DiscoveryWarning
Creates an instance of aDiscoveryWarningrecord class.
-
-
Method Details
-
toString
-
hashCode
-
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). -
scope
-
name
-
step
-
code
-
message
-