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