|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.plugin.AbstractMojo de.smartics.tagcloud.maven.AbstractTagCloudMojo
public abstract class AbstractTagCloudMojo
Base implementation for tag cloud mojos.
Field Summary | |
---|---|
protected String |
basedir The base directory to scan files. |
protected String |
encoding Specifies the encoding to be used to read the source files. |
protected String[] |
excludes The filter for files to exclude to be passed to the tag collection.. |
protected String[] |
includes The filter for files to include to be passed to the tag collection. |
protected String |
logLevel Specifies the log level used for this plugin. |
protected MavenProject |
project The Maven project. |
protected boolean |
skip A simple flag to skip the generation of the XML file. |
protected boolean |
useJavaReservedWordsFilter The filter removes Java reserved words from the tag cloud. |
protected boolean |
useUsualWordsFilter The filter removes usual Java words from the tag cloud. |
protected String[] |
wordsToFilter The list of words to be removed from the tag cloud. |
Fields inherited from interface org.apache.maven.plugin.Mojo |
---|
ROLE |
Constructor Summary | |
---|---|
AbstractTagCloudMojo() |
Method Summary | |
---|---|
protected TagCloudFactory |
createFactoryInstance() |
void |
execute() |
protected abstract void |
runWith(TagCloud tagCloud) Subclasses will get the generated cloud passed by overriding this method. |
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 |
Field Detail |
---|
protected MavenProject project
protected String basedir
protected String[] includes
protected String[] excludes
protected boolean skip
-Dtagcloud.skip
.
protected String logLevel
Allowed values are SEVERE
, WARNING
, INFO
and FINEST
.
protected String encoding
protected boolean useJavaReservedWordsFilter
protected boolean useUsualWordsFilter
protected String[] wordsToFilter
Constructor Detail |
---|
public AbstractTagCloudMojo()
Method Detail |
---|
public void execute() throws MojoExecutionException, MojoFailureException
MojoExecutionException
MojoFailureException
protected abstract void runWith(TagCloud tagCloud) throws MojoExecutionException
tagCloud
- the generated tag cloud.
MojoExecutionException
- on any problem encountered.
protected TagCloudFactory createFactoryInstance() throws MojoExecutionException
MojoExecutionException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |