Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
AbstractMojo
org.codehaus.modello.maven.AbstractModelloGeneratorMojo
public abstract class AbstractModelloGeneratorMojo
extends AbstractMojo
Method Summary | |
protected Properties |
|
protected void |
|
void |
|
String | |
protected abstract String | |
String |
|
ModelloCore | |
String[] | |
abstract File | |
boolean | |
MavenProject | |
String | |
protected boolean | |
protected boolean | |
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
protected Properties createParameters()
Creates a Properties objects. The abstract mojo will override the output directory, the version and the package with version flag.
- Returns:
- the parameters
protected void customizeParameters(Properties parameters)
Override this method to customize the values in the properties set. This method will be called after the parameters have been populated with the parameters in the abstract mojo.
- Parameters:
parameters
- the parameters to customize
public void execute() throws MojoExecutionException
public String getBasedir()
protected abstract String getGeneratorType()
public String getModel()
Deprecated. Use getModels() instead
public String[] getModels()
- Returns:
- Returns the paths to the models.
public abstract File getOutputDirectory()
public boolean getPackageWithVersion()
public MavenProject getProject()
public String getVersion()
protected boolean producesCompilableResult()
protected boolean producesResources()
public void setBasedir(String basedir)
public void setModel(String model)
Deprecated. Use setModels(String[]) instead
public void setModels(String[] models)
- Parameters:
models
- Sets the paths to the models.
public void setPackageWithVersion(boolean packageWithVersion)
public void setPackagedVersions(List packagedVersions)
public void setProject(MavenProject project)
public void setVersion(String version)