public class NeoBinMojo
extends org.apache.maven.plugin.AbstractMojo
| Constructor and Description |
|---|
NeoBinMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
Execute the tool.
|
protected File[] |
getCompileSourceRoots() |
protected String[] |
getExcludes() |
protected String[] |
getIncludes() |
protected File |
getOutputDirectory() |
protected File |
getSourceDirectory() |
protected int |
getStaleMillis() |
protected boolean |
isSourceRoot(File directory)
Determines whether the specified directory denotes a compile source root of the current project.
|
protected void |
processNeobin(File[] neobin)
Passes the specified grammar file through the tool.
|
protected File getSourceDirectory()
protected String[] getIncludes()
protected String[] getExcludes()
protected File getOutputDirectory()
protected int getStaleMillis()
protected File[] getCompileSourceRoots()
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException - If the invocation of the tool failed.org.apache.maven.plugin.MojoFailureException - If the tool reported a non-zero exit code.protected void processNeobin(File[] neobin) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
neobin - The file containing the neobin file to process, must not be null.org.apache.maven.plugin.MojoExecutionException - If the invocation of the tool failed.org.apache.maven.plugin.MojoFailureException - If the tool reported a non-zero exit code.protected boolean isSourceRoot(File directory)
directory - The directory to check, must not be null.true if the specified directory is a compile source root of the project, false otherwise.Copyright © 2012. All Rights Reserved.