Record Class JsonSchemaRecordsManifest.Warning
java.lang.Object
java.lang.Record
io.micronaut.jsonschema.generator.records.JsonSchemaRecordsManifest.Warning
- Record Components:
sourceName- Configured source namescope- Warning scopename- Input namestep- Pipeline stepcode- Warning codemessage- Warning message
- Enclosing class:
JsonSchemaRecordsManifest
-
Constructor Summary
Constructors -
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.Returns the value of thesourceNamerecord component.step()Returns the value of thesteprecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Warning
public Warning(String sourceName, String scope, String name, DiscoveryStep step, String code, String message) Creates an instance of aWarningrecord class.- Parameters:
sourceName- the value for thesourceNamerecord componentscope- the value for thescoperecord componentname- the value for thenamerecord componentstep- the value for thesteprecord componentcode- the value for thecoderecord componentmessage- the value for themessagerecord component
-
-
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). -
sourceName
Returns the value of thesourceNamerecord component.- Returns:
- the value of the
sourceNamerecord component
-
scope
-
name
-
step
-
code
-
message
-