Record Class JsonSchemaRecordsManifest
java.lang.Object
java.lang.Record
io.micronaut.jsonschema.generator.records.JsonSchemaRecordsManifest
- Record Components:
generator- Generator identitycreatedAt- Creation timestampsourceMetadata- Sanitized provider source metadataparameters- Effective parametersdiscovery- Discovery resultwarnings- Warnings emitted during discovery or generationskipped- Skipped objects whenskipOnError=trueemittedSchemaFiles- Relative schema file pathsgeneratedSourceFiles- Relative generated source file paths
@Internal
public record JsonSchemaRecordsManifest(JsonSchemaRecordsManifest.Generator generator, String createdAt, List<JsonSchemaRecordsManifest.SourceMetadata> sourceMetadata, JsonSchemaRecordsManifest.Parameters parameters, JsonSchemaRecordsManifest.Discovery discovery, List<JsonSchemaRecordsManifest.Warning> warnings, List<JsonSchemaRecordsManifest.Skipped> skipped, List<String> emittedSchemaFiles, List<String> generatedSourceFiles)
extends Record
Manifest written by the schema records pipeline.
- Since:
- 2.2.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordA configured source entry.static final recordDiscovery section of the manifest.static final recordGenerator metadata.static final recordEffective pipeline parameters.static final recordA discovered schema file entry.static final recordA skipped input entry.static final recordSource metadata with sanitized values only.static final recordA non-fatal warning entry. -
Constructor Summary
ConstructorsConstructorDescriptionJsonSchemaRecordsManifest(JsonSchemaRecordsManifest.Generator generator, String createdAt, List<JsonSchemaRecordsManifest.SourceMetadata> sourceMetadata, JsonSchemaRecordsManifest.Parameters parameters, JsonSchemaRecordsManifest.Discovery discovery, List<JsonSchemaRecordsManifest.Warning> warnings, List<JsonSchemaRecordsManifest.Skipped> skipped, List<String> emittedSchemaFiles, List<String> generatedSourceFiles) Creates an instance of aJsonSchemaRecordsManifestrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecreatedAtrecord component.Returns the value of thediscoveryrecord component.Returns the value of theemittedSchemaFilesrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thegeneratedSourceFilesrecord component.Returns the value of thegeneratorrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theparametersrecord component.skipped()Returns the value of theskippedrecord component.Returns the value of thesourceMetadatarecord component.final StringtoString()Returns a string representation of this record class.warnings()Returns the value of thewarningsrecord component.
-
Constructor Details
-
JsonSchemaRecordsManifest
public JsonSchemaRecordsManifest(JsonSchemaRecordsManifest.Generator generator, String createdAt, List<JsonSchemaRecordsManifest.SourceMetadata> sourceMetadata, JsonSchemaRecordsManifest.Parameters parameters, JsonSchemaRecordsManifest.Discovery discovery, List<JsonSchemaRecordsManifest.Warning> warnings, List<JsonSchemaRecordsManifest.Skipped> skipped, List<String> emittedSchemaFiles, List<String> generatedSourceFiles) Creates an instance of aJsonSchemaRecordsManifestrecord class.- Parameters:
generator- the value for thegeneratorrecord componentcreatedAt- the value for thecreatedAtrecord componentsourceMetadata- the value for thesourceMetadatarecord componentparameters- the value for theparametersrecord componentdiscovery- the value for thediscoveryrecord componentwarnings- the value for thewarningsrecord componentskipped- the value for theskippedrecord componentemittedSchemaFiles- the value for theemittedSchemaFilesrecord componentgeneratedSourceFiles- the value for thegeneratedSourceFilesrecord 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). -
generator
-
createdAt
-
sourceMetadata
Returns the value of thesourceMetadatarecord component.- Returns:
- the value of the
sourceMetadatarecord component
-
parameters
Returns the value of theparametersrecord component.- Returns:
- the value of the
parametersrecord component
-
discovery
-
warnings
-
skipped
-
emittedSchemaFiles
Returns the value of theemittedSchemaFilesrecord component.- Returns:
- the value of the
emittedSchemaFilesrecord component
-
generatedSourceFiles
Returns the value of thegeneratedSourceFilesrecord component.- Returns:
- the value of the
generatedSourceFilesrecord component
-