|
||||||||||
| 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.JcoderzReportAntTask
public final class JcoderzReportAntTask
jCoderZ Report 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.
| Nested Class Summary | |
|---|---|
class |
JcoderzReportAntTask.Report
This class represents input report with a format and filename. |
static class |
JcoderzReportAntTask.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 | |
|---|---|
JcoderzReportAntTask()
|
|
| 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 command line. |
org.apache.tools.ant.types.Path |
createClasspath()
Adds a classpath to the command line. |
org.apache.tools.ant.types.Commandline.Argument |
createJvmarg()
Adds a JVM argument. |
JcoderzReportAntTask.Report |
createReport()
Adds a report to the list of reports. |
JcoderzReportAntTask.SourceDirectory |
createSrcDir()
Adds a source directory to the list of directories. |
void |
execute()
Executes this task. |
void |
setDebug(boolean b)
Sets the debug flag. |
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. |
void |
setFormat(String s)
Sets the output format. |
void |
setName(String projectName)
Sets the projectName to given projectName. |
void |
setOut(File dir)
Sets the output directory. |
| 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 JcoderzReportAntTask()
| Method Detail |
|---|
public final void setOut(File dir)
dir - the output directorypublic final void setFilter(File f)
f - the filter filepublic final void setName(String projectName)
projectName.
projectName - the project namepublic void setDir(File dir)
dir - the directory to invoke the JVM frompublic void setFailonerror(boolean b)
b - whether we should fail on an error
public void setFormat(String s)
throws org.apache.tools.ant.BuildException
s - the output format
org.apache.tools.ant.BuildException - throws a BuildException when the format
name is not validpublic void setDebug(boolean b)
b - the debug modepublic 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 JcoderzReportAntTask.Report createReport()
public JcoderzReportAntTask.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 | |||||||||