Record Class SourceSpec
java.lang.Object
java.lang.Record
io.micronaut.jsonschema.generator.discovery.SourceSpec
- Record Components:
name- Stable source name used in diagnostics and cache layoutprovider- Discovery provider idoptions- Provider-specific options
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.Resolve a provider option as a string.options()Returns the value of theoptionsrecord component.optionValue(String key) Resolve a provider option in its configured form.optionValues(String key) Resolve a provider option as one or more string values.provider()Returns the value of theproviderrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SourceSpec
-
-
Method Details
-
optionValue
-
option
-
optionValues
-
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). -
name
-
provider
-
options
-