Class TestCompatibilitySchemaRegistryMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
io.confluent.kafka.schemaregistry.maven.SchemaRegistryMojo
io.confluent.kafka.schemaregistry.maven.UploadSchemaRegistryMojo
io.confluent.kafka.schemaregistry.maven.TestCompatibilitySchemaRegistryMojo
- All Implemented Interfaces:
Closeable,AutoCloseable,org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="test-compatibility",
configurator="custom-basic")
public class TestCompatibilitySchemaRegistryMojo
extends UploadSchemaRegistryMojo
-
Field Summary
Fields inherited from class io.confluent.kafka.schemaregistry.maven.UploadSchemaRegistryMojo
PERCENT_REPLACEMENTFields 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 Stringprotected booleanprocessSchema(String subject, File schemaPath, ParsedSchema schema, Map<String, Integer> schemaVersions) Methods inherited from class io.confluent.kafka.schemaregistry.maven.UploadSchemaRegistryMojo
decode, decode, decodeMetadata, executeMethods inherited from class io.confluent.kafka.schemaregistry.maven.SchemaRegistryMojo
client, closeMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
TestCompatibilitySchemaRegistryMojo
public TestCompatibilitySchemaRegistryMojo()
-
-
Method Details
-
processSchema
protected boolean processSchema(String subject, File schemaPath, ParsedSchema schema, Map<String, Integer> schemaVersions) throws IOException, RestClientException- Specified by:
processSchemain classUploadSchemaRegistryMojo- Throws:
IOExceptionRestClientException
-
failureMessage
- Overrides:
failureMessagein classUploadSchemaRegistryMojo
-