Record Class JsonSchemaRecordsManifest.SchemaFile
java.lang.Object
java.lang.Record
io.micronaut.jsonschema.generator.records.JsonSchemaRecordsManifest.SchemaFile
- Record Components:
sourceName- Configured source nameprovider- Discovery provider idscope- Discovery scopename- Input nameschemaFile- Relative schema file pathretrievalMode- Retrieval mode
- Enclosing class:
JsonSchemaRecordsManifest
-
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.provider()Returns the value of theproviderrecord component.Returns the value of theretrievalModerecord component.Returns the value of theschemaFilerecord component.scope()Returns the value of thescoperecord component.Returns the value of thesourceNamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SchemaFile
public SchemaFile(String sourceName, String provider, String scope, String name, String schemaFile, String retrievalMode) Creates an instance of aSchemaFilerecord class.- Parameters:
sourceName- the value for thesourceNamerecord componentprovider- the value for theproviderrecord componentscope- the value for thescoperecord componentname- the value for thenamerecord componentschemaFile- the value for theschemaFilerecord componentretrievalMode- the value for theretrievalModerecord 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
-
provider
-
scope
-
name
-
schemaFile
Returns the value of theschemaFilerecord component.- Returns:
- the value of the
schemaFilerecord component
-
retrievalMode
Returns the value of theretrievalModerecord component.- Returns:
- the value of the
retrievalModerecord component
-