Class SetCompatibilityMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
io.confluent.kafka.schemaregistry.maven.SchemaRegistryMojo
io.confluent.kafka.schemaregistry.maven.SetCompatibilityMojo
- All Implemented Interfaces:
Closeable,AutoCloseable,org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="set-compatibility",
configurator="custom-basic")
public class SetCompatibilityMojo
extends SchemaRegistryMojo
-
Field Summary
Fields 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 TypeMethodDescriptionvoiddeleteConfig(String subject) voidexecute()voidupdateConfig(String subject, CompatibilityLevel compatibility) Methods 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
-
SetCompatibilityMojo
public SetCompatibilityMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-
updateConfig
public void updateConfig(String subject, CompatibilityLevel compatibility) throws org.apache.maven.plugin.MojoExecutionException - Throws:
org.apache.maven.plugin.MojoExecutionException
-
deleteConfig
- Throws:
org.apache.maven.plugin.MojoExecutionException
-
getConfig
- Throws:
org.apache.maven.plugin.MojoExecutionException
-