org.codehaus.mojo.analytics
Class AbstractPostProcessMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.analytics.AbstractPostProcessMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
- InjectAnalyticsMojo, PostProcessMojo
public abstract class AbstractPostProcessMojo
- extends org.apache.maven.plugin.AbstractMojo
Allows postprocessing the the generated website.
Ought to be executed after site:site and before site:deploy, or added to the site phase.
- Author:
- mkleint@codehaus.org
Field Summary |
protected java.lang.String |
encoding
Specifies the output encoding. |
protected java.io.File |
outputDirectory
Directory containing the generated project sites and report distributions. |
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Method Summary |
protected java.lang.String |
fileRead(java.io.File file)
|
protected void |
fileWrite(java.io.File fileName,
java.lang.String data)
|
protected void |
processChildrenHtml(java.io.File outputDirectory,
java.lang.String toReplace,
java.lang.String replaceWith)
|
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 |
Methods inherited from interface org.apache.maven.plugin.Mojo |
execute |
encoding
protected java.lang.String encoding
- Specifies the output encoding.
outputDirectory
protected java.io.File outputDirectory
- Directory containing the generated project sites and report distributions.
AbstractPostProcessMojo
public AbstractPostProcessMojo()
processChildrenHtml
protected void processChildrenHtml(java.io.File outputDirectory,
java.lang.String toReplace,
java.lang.String replaceWith)
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
fileRead
protected java.lang.String fileRead(java.io.File file)
throws java.io.IOException
- Throws:
java.io.IOException
fileWrite
protected void fileWrite(java.io.File fileName,
java.lang.String data)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2009. All Rights Reserved.