Package io.apicurio.registry.maven
Class JsonSchemaDirectoryParser
java.lang.Object
io.apicurio.registry.maven.AbstractDirectoryParser<io.apicurio.registry.rules.ParsedJsonSchema>
io.apicurio.registry.maven.JsonSchemaDirectoryParser
public class JsonSchemaDirectoryParser
extends AbstractDirectoryParser<io.apicurio.registry.rules.ParsedJsonSchema>
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionJsonSchemaDirectoryParser
(io.apicurio.registry.rest.client.RegistryClient client) -
Method Summary
Modifier and TypeMethodDescriptionList<io.apicurio.registry.rest.client.models.ArtifactReference>
handleSchemaReferences
(RegisterArtifact rootArtifact, io.apicurio.registry.rules.ParsedJsonSchema someRootSchema, Map<String, io.apicurio.registry.content.TypedContent> fileContents) ParsedDirectoryWrapper<io.apicurio.registry.rules.ParsedJsonSchema>
Methods inherited from class io.apicurio.registry.maven.AbstractDirectoryParser
buildFromRoot, readSchemaContent, registerNestedSchema
-
Constructor Details
-
JsonSchemaDirectoryParser
public JsonSchemaDirectoryParser(io.apicurio.registry.rest.client.RegistryClient client)
-
-
Method Details
-
parse
public ParsedDirectoryWrapper<io.apicurio.registry.rules.ParsedJsonSchema> parse(File rootSchemaFile) - Specified by:
parse
in classAbstractDirectoryParser<io.apicurio.registry.rules.ParsedJsonSchema>
-
handleSchemaReferences
public List<io.apicurio.registry.rest.client.models.ArtifactReference> handleSchemaReferences(RegisterArtifact rootArtifact, io.apicurio.registry.rules.ParsedJsonSchema someRootSchema, Map<String, io.apicurio.registry.content.TypedContent> fileContents) throws FileNotFoundException, ExecutionException, InterruptedException- Specified by:
handleSchemaReferences
in classAbstractDirectoryParser<io.apicurio.registry.rules.ParsedJsonSchema>
- Throws:
FileNotFoundException
ExecutionException
InterruptedException
-