public class GenerateMojo
extends org.apache.maven.plugin.AbstractMojo
Constructor and Description |
---|
GenerateMojo() |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
File |
getDictFile()
Returns the dictionary file for which code generation should be executed.
|
File |
getOutputDirectory()
Returns the destination directory to used during code generation.
|
String |
getPackaging()
Returns the default package to be used during code generation.
|
org.apache.maven.project.MavenProject |
getProject()
Returns the
MavenProject instance for which code generation should be executed. |
File |
getSchemaDirectory()
Returns the directory containing schemas for code generation.
|
void |
setDictFile(File dictFile)
Sets the dictionary file for which code generation should be executed.
|
void |
setOutputDirectory(File outputDirectory)
Sets the destination directory to used during code generation.
|
void |
setPackaging(String packaging)
Sets the default package to be used during code generation.
|
void |
setProject(org.apache.maven.project.MavenProject project)
Sets the
MavenProject instance for which code generation should be executed. |
void |
setSchemaDirectory(File schemaDirectory)
Sets the directory containing schemas for code generation.
|
public void execute() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
Mojo.execute()
public File getOutputDirectory()
public void setOutputDirectory(File outputDirectory)
outputDirectory
- the destination directory to used during code generation.public String getPackaging()
public void setPackaging(String packaging)
packaging
- the default package to be used during code generation.public org.apache.maven.project.MavenProject getProject()
MavenProject
instance for which code generation should be executed.MavenProject
instance for which code generation should be executed.public void setProject(org.apache.maven.project.MavenProject project)
MavenProject
instance for which code generation should be executed.project
- the MavenProject
instance for which code generation should be executed.public File getDictFile()
public void setDictFile(File dictFile)
dictFile
- the dictionary file for which code generation should be executed.public File getSchemaDirectory()
public void setSchemaDirectory(File schemaDirectory)
schemaDirectory
- the directory containing schemas for code generation.Copyright © 2016. All rights reserved.