|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.appfuse.mojo.MojoBase
public abstract class MojoBase
This class is a base class for all appfuse plugin components to use for access to shared resources.
Field Summary |
---|
Fields inherited from interface org.apache.maven.plugin.Mojo |
---|
ROLE |
Constructor Summary | |
---|---|
MojoBase()
|
Method Summary | |
---|---|
void |
execute()
This method will run an appfuse mojo. |
java.lang.String |
getBasePackageName()
Getter for property base package name. |
boolean |
getCopyOverWrite()
Getter for property copy overwrite flag. |
java.lang.String |
getFilePattern()
Getter for property file pattern. |
java.lang.String |
getModelDirectory()
Getter for property model directory. |
protected java.lang.String |
getModelPackageName()
This method will return the full package name to be used for generating output for the model objects. |
java.lang.String |
getMojoName()
Getter for property mojoName. |
java.lang.String |
getOutputDirectory()
Getter for property output directory. |
java.util.Properties |
getProcessingProperties()
Getter for property processing properties. |
java.lang.String |
getSourceDirectory()
Getter for property source directory. |
void |
setBasePackageName(java.lang.String inBasePackageName)
Setter for the base package name. |
void |
setCopyOverWrite(boolean inCopyOverWrite)
Setter for the copy overwrite flag. |
void |
setFilePattern(java.lang.String inFilePattern)
Setter for the file pattern. |
void |
setModelDirectory(java.lang.String inModelDirectory)
Setter for the model directory. |
void |
setMojoName(java.lang.String inMojoName)
Setter for the mojo name. |
void |
setOutputDirectory(java.lang.String inOutputDirectory)
Setter for the output directory. |
void |
setProcessingProperties(java.util.Properties inProcessingProperties)
Setter for the processing properties. |
void |
setSourceDirectory(java.lang.String inSourceDirectory)
Setter for the source directory. |
java.lang.String |
toString()
toString methode: creates a String representation of the object |
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, wait, wait, wait |
Constructor Detail |
---|
public MojoBase()
Method Detail |
---|
public void execute() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
- Thrown if we fail to obtain an appfuse resource.public java.lang.String getBasePackageName()
public void setBasePackageName(java.lang.String inBasePackageName)
inBasePackageName
- The value of base package name.public java.lang.String getOutputDirectory()
public void setOutputDirectory(java.lang.String inOutputDirectory)
inOutputDirectory
- The value of output directory.public java.lang.String getFilePattern()
public void setFilePattern(java.lang.String inFilePattern)
inFilePatterns
- The value of file pattern.public boolean getCopyOverWrite()
public void setCopyOverWrite(boolean inCopyOverWrite)
inCopyOverWrite
- The value of the copy overwrite flag.public java.lang.String getMojoName()
public void setMojoName(java.lang.String inMojoName)
inMojoName
- The value of the mojo name.public java.lang.String getSourceDirectory()
public void setSourceDirectory(java.lang.String inSourceDirectory)
inSourceDirectory
- The value of source directory.public java.lang.String getModelDirectory()
public void setModelDirectory(java.lang.String inModelDirectory)
inModelDirectory
- The value of model directory.public java.util.Properties getProcessingProperties()
public void setProcessingProperties(java.util.Properties inProcessingProperties)
inProcessingProperties
- The value of processing properties.protected java.lang.String getModelPackageName()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |