|
||||||||||
| 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.apache.tools.ant.taskdefs.MatchingTask
org.jcoderz.phoenix.report.ReportNormalizerAntTask
public final class ReportNormalizerAntTask
Report Normalizer Ant Task.
This Task takes none, one or more input reports such as Checkstyle or PMD
and generates a normalized report file (XML) for any Java source under
srcdir.
This version of the class JcoderzReportAntTask just creates the combined XML
report. No further processing into a HTML report is done at this time.
| Nested Class Summary | |
|---|---|
class |
ReportNormalizerAntTask.Report
This class represents an input report with a format and filename. |
static class |
ReportNormalizerAntTask.SourceDirectory
|
| Field Summary |
|---|
| Fields inherited from class org.apache.tools.ant.taskdefs.MatchingTask |
|---|
fileset |
| 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 | |
|---|---|
ReportNormalizerAntTask()
|
|
| Method Summary | |
|---|---|
void |
addSysproperty(org.apache.tools.ant.types.Environment.Variable sysp)
Adds a system property. |
org.apache.tools.ant.types.Path |
createBootclasspath()
Adds a bootclasspath to the task. |
org.apache.tools.ant.types.Path |
createClasspath()
Adds a classpath to the task. |
org.apache.tools.ant.types.Commandline.Argument |
createJvmarg()
Adds a JVM argument. |
ReportNormalizerAntTask.Report |
createReport()
Adds a Report file such as PMD report or checkstyle report. |
ReportNormalizerAntTask.SourceDirectory |
createSrcDir()
Adds a source folder file such as PMD report or checkstyle report. |
void |
execute()
Execute this task. |
void |
setDebug(boolean b)
|
void |
setDir(File dir)
The directory to invoke the VM in. |
void |
setFailonerror(boolean b)
Set whether we should fail on an error. |
void |
setFilter(File f)
Sets the filter file to f. |
void |
setLevel(String level)
Sets the level to given level. |
void |
setName(String projectName)
Sets the projectName to given projectName. |
void |
setOut(File dir)
Sets the output directory to given dir. |
| Methods inherited from class org.apache.tools.ant.taskdefs.MatchingTask |
|---|
add, addAnd, addContains, addContainsRegexp, addCustom, addDate, addDepend, addDepth, addDifferent, addFilename, addMajority, addModified, addNone, addNot, addOr, addPresent, addSelector, addSize, addType, appendSelector, createExclude, createExcludesFile, createInclude, createIncludesFile, createPatternSet, getDirectoryScanner, getImplicitFileSet, getSelectors, hasSelectors, selectorCount, selectorElements, setCaseSensitive, setDefaultexcludes, setExcludes, setExcludesfile, setFollowSymlinks, setIncludes, setIncludesfile, setProject, XsetIgnore, XsetItems |
| 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, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
| Methods inherited from class org.apache.tools.ant.ProjectComponent |
|---|
clone, getDescription, getLocation, getProject, setDescription, setLocation |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ReportNormalizerAntTask()
| Method Detail |
|---|
public void setOut(File dir)
dir.
This directory is used to store the XML/HTML report file(s).
dir - The output directory to set.public void setFilter(File f)
f.
This file is used to filter to raw jcoderz XML report.
f - The filter file.public void setName(String projectName)
projectName.
projectName - The projectName to set.public void setLevel(String level)
level.
level - The level to set.public void setDir(File dir)
dir - the directory to invoke the JVM from.public void setFailonerror(boolean b)
b - Whether we should fail on an error.public void setDebug(boolean b)
public org.apache.tools.ant.types.Path createClasspath()
public org.apache.tools.ant.types.Path createBootclasspath()
public void addSysproperty(org.apache.tools.ant.types.Environment.Variable sysp)
sysp - system propertypublic org.apache.tools.ant.types.Commandline.Argument createJvmarg()
public ReportNormalizerAntTask.Report createReport()
public ReportNormalizerAntTask.SourceDirectory createSrcDir()
public void execute()
throws org.apache.tools.ant.BuildException
execute in class org.apache.tools.ant.Taskorg.apache.tools.ant.BuildException - An building exception occurred.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||