org.apache.avro.mojo
Class SchemaMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.avro.mojo.AbstractAvroMojo
          extended by org.apache.avro.mojo.SchemaMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class SchemaMojo
extends AbstractAvroMojo

Generate Java classes from Avro schema files (.avsc)


Field Summary
 
Fields inherited from class org.apache.avro.mojo.AbstractAvroMojo
excludes, testExcludes
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
SchemaMojo()
           
 
Method Summary
protected  void doCompile(String filename, File sourceDirectory, File outputDirectory)
           
protected  String[] getIncludes()
           
protected  String[] getTestIncludes()
           
 
Methods inherited from class org.apache.avro.mojo.AbstractAvroMojo
execute
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchemaMojo

public SchemaMojo()
Method Detail

doCompile

protected void doCompile(String filename,
                         File sourceDirectory,
                         File outputDirectory)
                  throws IOException
Specified by:
doCompile in class AbstractAvroMojo
Throws:
IOException

getIncludes

protected String[] getIncludes()
Specified by:
getIncludes in class AbstractAvroMojo

getTestIncludes

protected String[] getTestIncludes()
Specified by:
getTestIncludes in class AbstractAvroMojo


Copyright © 2011 The Apache Software Foundation. All Rights Reserved.