|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.jcoderz.phoenix.report.JcReportAntTask
public class JcReportAntTask
This is the Ant task for the Jcoderz Report. This task forks all processing steps as separate processes so that memory for each process can be controlled separately. TODO: Why are the inner classes static + take a JcReportAntTask?
| Nested Class Summary | |
|---|---|
static class |
JcReportAntTask.NestedCheckstyleElement
|
static class |
JcReportAntTask.NestedCoberturaElement
|
static class |
JcReportAntTask.NestedCpdElement
|
static class |
JcReportAntTask.NestedEmmaElement
|
static class |
JcReportAntTask.NestedFilterElement
|
static class |
JcReportAntTask.NestedFiltersElement
|
static class |
JcReportAntTask.NestedFindbugsElement
|
static class |
JcReportAntTask.NestedLogfileElement
|
static class |
JcReportAntTask.NestedLogfilesElement
|
static class |
JcReportAntTask.NestedMappingElement
|
static class |
JcReportAntTask.NestedMappingsElement
|
static class |
JcReportAntTask.NestedPmdElement
|
static class |
JcReportAntTask.NestedReportElement
This class represents a <report> tag in an Ant build.xml file. |
static class |
JcReportAntTask.NestedReportsElement
|
static class |
JcReportAntTask.NestedToolElement
This is the base class for all tool elements. |
static class |
JcReportAntTask.NestedToolsElement
|
| Field Summary |
|---|
| Fields inherited from class org.apache.tools.ant.Task |
|---|
target, taskName, taskType, wrapper |
| Fields inherited from class org.apache.tools.ant.ProjectComponent |
|---|
description, location, project |
| Constructor Summary | |
|---|---|
JcReportAntTask()
|
|
| Method Summary | |
|---|---|
org.apache.tools.ant.types.Path |
createClasspath()
|
JcReportAntTask.NestedFiltersElement |
createFilters()
This method is called by Ant to create an instance of the NestedFiltersElement class when the 'filters' tag is read. |
JcReportAntTask.NestedLogfilesElement |
createLogfiles()
This method is called by Ant to create an instance of the NestedLogfilesElement class when the 'logfiles' tag is read. |
JcReportAntTask.NestedMappingsElement |
createMappings()
This method is called by Ant to create an instance of the NestedMappingsElement class when the 'mappings' tag is read. |
JcReportAntTask.NestedReportsElement |
createReports()
This method is called by Ant to create an instance of the NestedReportsElement class when the 'reports' tag is read. |
JcReportAntTask.NestedToolsElement |
createTools()
This method is called by Ant to create an instance of the NestedToolsElement class when the 'tools' tag is read. |
void |
execute()
This method is called by Ant for executing this task. |
int |
getCpus()
|
String |
getEncoding()
|
File |
getWorkingDir()
Returns the working directory. |
void |
log(String msg)
Overwrites the method from the super class in order to check for debug mode. |
void |
setCpus(int cpus)
|
void |
setDebug(Boolean debug)
Sets the debug parameter. |
void |
setDest(String dest)
Sets the destination of the report. |
void |
setEncoding(String encoding)
|
void |
setMaxHeap(String maxheap)
Sets the maximum heap value. |
void |
setName(String name)
Sets the name of the report. |
void |
setOldReportFile(String oldReportFile)
|
void |
setPackageBase(String packageBase)
|
void |
setProjectBase(String projectBase)
|
void |
setStylesheet(String stylesheet)
Sets the stylesheet to be used for the report. |
void |
setTempfolder(String tempfolder)
Sets the temporary folder. |
void |
setWebRcsBase(String webRcsBase)
|
void |
setWebRcsSuffix(String webRcsSuffix)
|
void |
setWikiBase(String wikiBase)
|
| Methods inherited from class org.apache.tools.ant.Task |
|---|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
| Methods inherited from class org.apache.tools.ant.ProjectComponent |
|---|
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JcReportAntTask()
| Method Detail |
|---|
public int getCpus()
public void setCpus(int cpus)
cpus - the cpus to setpublic String getEncoding()
public void setEncoding(String encoding)
encoding - the sourceEncoding to setpublic File getWorkingDir()
public void setMaxHeap(String maxheap)
maxheap - the max heap value.public void setName(String name)
name - the report name.public void setDest(String dest)
dest - the report destination.public void setPackageBase(String packageBase)
public void setProjectBase(String projectBase)
public void setWebRcsBase(String webRcsBase)
public void setWebRcsSuffix(String webRcsSuffix)
public void setWikiBase(String wikiBase)
public void setOldReportFile(String oldReportFile)
public void setStylesheet(String stylesheet)
stylesheet - the report stylesheet.public void setTempfolder(String tempfolder)
tempfolder - the temporary folder.public void setDebug(Boolean debug)
debug - the debug parameter.public org.apache.tools.ant.types.Path createClasspath()
public void execute()
throws org.apache.tools.ant.BuildException
execute in class org.apache.tools.ant.Taskorg.apache.tools.ant.BuildException - whenever a problem occurs.public JcReportAntTask.NestedReportsElement createReports()
public JcReportAntTask.NestedMappingsElement createMappings()
public JcReportAntTask.NestedToolsElement createTools()
public JcReportAntTask.NestedLogfilesElement createLogfiles()
public JcReportAntTask.NestedFiltersElement createFilters()
public void log(String msg)
log in class org.apache.tools.ant.Taskmsg - the message to log.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||