Package io.apicurio.registry.maven
Class JsonSchemaDirectoryParser
java.lang.Object
io.apicurio.registry.maven.AbstractDirectoryParser<org.everit.json.schema.Schema>
io.apicurio.registry.maven.JsonSchemaDirectoryParser
public class JsonSchemaDirectoryParser
extends AbstractDirectoryParser<org.everit.json.schema.Schema>
-
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, org.everit.json.schema.Schema rootSchema, Map<String, io.apicurio.registry.content.TypedContent> fileContents) ParsedDirectoryWrapper
<org.everit.json.schema.Schema> 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
- Specified by:
parse
in classAbstractDirectoryParser<org.everit.json.schema.Schema>
-
handleSchemaReferences
public List<io.apicurio.registry.rest.client.models.ArtifactReference> handleSchemaReferences(RegisterArtifact rootArtifact, org.everit.json.schema.Schema rootSchema, Map<String, io.apicurio.registry.content.TypedContent> fileContents) throws FileNotFoundException, ExecutionException, InterruptedException- Specified by:
handleSchemaReferences
in classAbstractDirectoryParser<org.everit.json.schema.Schema>
- Throws:
FileNotFoundException
ExecutionException
InterruptedException
-