Package org.codehaus.mojo.antlr
Class AntlrPlugin
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.codehaus.mojo.antlr.AbstractAntlrMojo
-
- org.codehaus.mojo.antlr.AntlrPlugin
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo,Environment
public class AntlrPlugin extends AbstractAntlrMojo
Generates files based on grammar files with Antlr tool.- Version:
- $Id$
- Author:
- Vincent Siveton
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.codehaus.mojo.antlr.AbstractAntlrMojo
AbstractAntlrMojo.NoAntlrDependencyDefinedException
-
-
Field Summary
-
Fields inherited from class org.codehaus.mojo.antlr.AbstractAntlrMojo
grammarDefs, grammars, outputDirectory, project, sourceDirectory
-
-
Constructor Summary
Constructors Constructor Description AntlrPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddArgs(List arguments)Add arguments to be included in Antlr callvoidexecute()-
Methods inherited from class org.codehaus.mojo.antlr.AbstractAntlrMojo
addArgIf, executeAntlr, getOutputDirectory, getSourceDirectory, locateAntlrArtifact, performGeneration
-
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
-
Methods inherited from interface org.codehaus.mojo.antlr.Environment
getLog
-
-
-
-
Method Detail
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException- See Also:
Mojo.execute()
-
addArgs
protected void addArgs(List arguments)
Description copied from class:AbstractAntlrMojoAdd arguments to be included in Antlr call- Specified by:
addArgsin classAbstractAntlrMojo- See Also:
AbstractAntlrMojo.addArgs(java.util.List)
-
-