Class UploadSchemaRegistryMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
io.confluent.kafka.schemaregistry.maven.SchemaRegistryMojo
io.confluent.kafka.schemaregistry.maven.UploadSchemaRegistryMojo
- All Implemented Interfaces:
Closeable,AutoCloseable,org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
RegisterSchemaRegistryMojo,TestCompatibilitySchemaRegistryMojo,ValidateSchemaRegistryMojo
-
Field Summary
FieldsFields inherited from class io.confluent.kafka.schemaregistry.maven.SchemaRegistryMojo
clientFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static StringdecodeMetadata(Map<String, Metadata> map) voidexecute()protected Stringprotected abstract booleanprocessSchema(String subject, File schemaPath, ParsedSchema schema, Map<String, Integer> schemaVersions) Methods inherited from class io.confluent.kafka.schemaregistry.maven.SchemaRegistryMojo
client, closeMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
PERCENT_REPLACEMENT
- See Also:
-
-
Constructor Details
-
UploadSchemaRegistryMojo
public UploadSchemaRegistryMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-
decodeMetadata
-
decode
-
decode
-
processSchema
protected abstract boolean processSchema(String subject, File schemaPath, ParsedSchema schema, Map<String, Integer> schemaVersions) throws IOException, RestClientException- Throws:
IOExceptionRestClientException
-
failureMessage
-