|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.mojo.freeform.writer.MavencallWriter
public class MavencallWriter
This class represents the Writer for a List of AntTargets.
| Constructor Summary | |
|---|---|
MavencallWriter(java.util.List antTargets,
java.io.File mavencallFile,
org.apache.maven.project.MavenProject mavenProject,
boolean useOutputDirectory,
org.apache.maven.plugin.logging.Log log)
Creates a new instance of MavencallWriter. |
|
| Method Summary | |
|---|---|
void |
write()
This is the main method called on the Class for writing the mavencall file. |
protected void |
writeAntTarget(AntTarget antTarget,
org.codehaus.plexus.util.xml.XMLWriter writer)
This method write an AntTarget to the given XMLWriter. |
protected void |
writeMavenCallXml(org.codehaus.plexus.util.xml.XMLWriter writer)
This method write the List of AntTargets in the XMLWriter. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MavencallWriter(java.util.List antTargets,
java.io.File mavencallFile,
org.apache.maven.project.MavenProject mavenProject,
boolean useOutputDirectory,
org.apache.maven.plugin.logging.Log log)
useOutputDirectory - whether the project elements contains reference to the project directory or not.antTargets - The list of AntTarget to write in the file.mavencallFile - The file to write the targets in.mavenProject - The MavenProject.log - The maven plugin logger.| Method Detail |
|---|
public void write()
throws FreeformPluginException
FreeformPluginException - if something goes wrong.
protected void writeAntTarget(AntTarget antTarget,
org.codehaus.plexus.util.xml.XMLWriter writer)
throws FreeformPluginException
antTarget - The AntTarget to write.writer - The XMLWriter to write the AntTarget in.
FreeformPluginException - if something goes wrong.
protected void writeMavenCallXml(org.codehaus.plexus.util.xml.XMLWriter writer)
throws FreeformPluginException
writer - The XMLWriter to write the List of AntTargets in.
FreeformPluginException - if something goes wrong.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||