Class TestLocalCompatibilityMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
io.confluent.kafka.schemaregistry.maven.TestLocalCompatibilityMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="test-local-compatibility",
configurator="custom-basic")
public class TestLocalCompatibilityMojo
extends org.apache.maven.plugin.AbstractMojo
-
Field Summary
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute()protected ParsedSchemaloadSchema(File path, String schemaType, Map<String, SchemaProvider> schemaProviders) protected Optional<ParsedSchema>parseSchema(String schemaType, String schemaString, List<SchemaReference> references, Map<String, SchemaProvider> providers) protected voidtestSchema(String key, Map<String, SchemaProvider> schemaProviders) Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
TestLocalCompatibilityMojo
public TestLocalCompatibilityMojo()
-
-
Method Details
-
parseSchema
protected Optional<ParsedSchema> parseSchema(String schemaType, String schemaString, List<SchemaReference> references, Map<String, SchemaProvider> providers) throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-
loadSchema
protected ParsedSchema loadSchema(File path, String schemaType, Map<String, SchemaProvider> schemaProviders) throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-
getFiles
-
testSchema
protected void testSchema(String key, Map<String, SchemaProvider> schemaProviders) throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-