public abstract class AbstractAvroMojo
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Field and Description | 
|---|---|
| protected boolean | createSettersDetermines whether or not to create setters for the fields of the record. | 
| protected String[] | excludesA set of Ant-like exclusion patterns used to prevent certain files from
 being processed. | 
| protected String[] | importsA list of files or directories that should be compiled first thus making
 them importable by subsequently compiled schemas. | 
| protected org.apache.maven.project.MavenProject | projectThe current Maven project. | 
| protected String | stringTypeThe Java type to use for Avro strings. | 
| protected String | templateDirectoryThe directory (within the java classpath) that contains the velocity templates
 to use for code generation. | 
| protected String[] | testExcludesA set of Ant-like exclusion patterns used to prevent certain files from
 being processed. | 
| Constructor and Description | 
|---|
| AbstractAvroMojo() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected abstract void | doCompile(String filename,
         File sourceDirectory,
         File outputDirectory) | 
| void | execute() | 
| protected SpecificCompiler.FieldVisibility | getFieldVisibility() | 
| protected abstract String[] | getIncludes() | 
| protected abstract String[] | getTestIncludes() | 
protected String[] imports
protected String[] excludes
protected String[] testExcludes
protected String stringType
protected String templateDirectory
protected boolean createSetters
protected org.apache.maven.project.MavenProject project
public void execute()
             throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected SpecificCompiler.FieldVisibility getFieldVisibility()
protected abstract void doCompile(String filename, File sourceDirectory, File outputDirectory) throws IOException
IOExceptionprotected abstract String[] getIncludes()
protected abstract String[] getTestIncludes()
Copyright © 2009–2016 The Apache Software Foundation. All rights reserved.