|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tools.ant.ProjectComponent org.apache.tools.ant.Task de.smartics.exceptions.ant.ExceptionCodesReportTask
public class ExceptionCodesReportTask
Ant task implementation to run exception codes report.
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 | |
---|---|
ExceptionCodesReportTask() |
Method Summary | |
---|---|
void |
execute() Runs the Ant task to generate an exception codes report. |
org.apache.tools.ant.types.Path |
getClasspath() Returns the classpath to search for exception code classes. |
String |
getCssFile() Returns the link reference to the CSS file to add to the head element of the generated HTML document. |
String |
getProjectName() Returns the name of the project to collect information for. |
String |
getReportEncoding() Returns the encoding of the report documentation. |
String |
getReportExcludes() Returns the semicolon separated excluded directories. |
String |
getReportFile() Returns the name of the report file to write. |
String |
getReportGeneratorClass() Returns the class name of the report generator instance to use. |
String |
getReportIncludes() Returns the semicolon separated included directories. |
String |
getSourceEncoding() Returns the encoding of the Java source files. |
org.apache.tools.ant.types.Path |
getSourcepath() Returns the source path to search for Javadoc for the exception code classes found on the classpath. |
void |
run(de.smartics.report.conf.ProjectConfiguration<javax.xml.stream.XMLStreamWriter> config) Delegates call to run(ProjectConfiguration,XMLStreamWriter) . |
void |
run(de.smartics.report.conf.ProjectConfiguration<javax.xml.stream.XMLStreamWriter> configuration, javax.xml.stream.XMLStreamWriter output) Runs the reporting with the given configuration and writer. |
void |
setClasspath(org.apache.tools.ant.types.Path classpath) Sets the classpath to search for exception code classes. |
void |
setClasspathRef(org.apache.tools.ant.types.Reference reference) Sets the classpath via an Ant reference to search for exception code classes. |
void |
setCssFile(String cssFile) Sets the link reference to the CSS file to add to the head element of the generated HTML document. |
void |
setProjectName(String projectName) Sets the name of the project to collect information for. |
void |
setReportEncoding(String reportEncoding) Sets the encoding of the report documentation. |
void |
setReportExcludes(String reportExcludes) Sets the semicolon separated excluded directories. |
void |
setReportFile(String reportFile) Sets the name of the report file to write. |
void |
setReportGeneratorClass(String reportGeneratorClass) Sets the class name of the report generator instance to use. |
void |
setReportIncludes(String reportIncludes) Sets the semicolon separated included directories. |
void |
setSourceEncoding(String sourceEncoding) Sets the encoding of the Java source files. |
void |
setSourcepath(org.apache.tools.ant.types.Path sourcepath) Sets the source path to search for Javadoc for the exception code classes found on the classpath. |
void |
setSourcepathRef(org.apache.tools.ant.types.Reference reference) Sets the source path via an Ant reference to search for Javadoc for the exception code classes found on the classpath. |
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, setProject |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExceptionCodesReportTask()
Method Detail |
---|
public String getProjectName()
getProjectName()
,
getProjectName()
public void setProjectName(String projectName)
projectName
- the name of the project to collect information for.
public String getReportFile()
public void setReportFile(String reportFile)
reportFile
- the name of the report file to write.
public String getReportGeneratorClass()
public void setReportGeneratorClass(String reportGeneratorClass)
reportGeneratorClass
- the class name of the report generator instance to use.
public String getReportEncoding()
public void setReportEncoding(String reportEncoding)
reportEncoding
- the encoding of the report documentation.
public String getReportExcludes()
public void setReportExcludes(String reportExcludes)
reportExcludes
- the semicolon separated excluded directories.
public String getReportIncludes()
public void setReportIncludes(String reportIncludes)
reportIncludes
- the semicolon separated included directories.
public String getSourceEncoding()
public void setSourceEncoding(String sourceEncoding)
sourceEncoding
- the encoding of the Java source files.
public String getCssFile()
public void setCssFile(String cssFile)
cssFile
- the link reference to the CSS file to add to the head element of the generated HTML document.
public org.apache.tools.ant.types.Path getClasspath()
public void setClasspath(org.apache.tools.ant.types.Path classpath)
classpath
- the classpath to search for exception code classes.
public void setClasspathRef(org.apache.tools.ant.types.Reference reference)
reference
- the classpath reference to search for exception code classes.
public org.apache.tools.ant.types.Path getSourcepath()
public void setSourcepath(org.apache.tools.ant.types.Path sourcepath)
sourcepath
- the source path to search for Javadoc for the exception code classes found on the classpath.
public void setSourcepathRef(org.apache.tools.ant.types.Reference reference)
reference
- the source path reference to search for Javadoc for the exception code classes found on the classpath.
public void execute() throws org.apache.tools.ant.BuildException
execute
in class
org.apache.tools.ant.Task
org.apache.tools.ant.BuildException
- if the report cannot be generated successfully.
public void run(de.smartics.report.conf.ProjectConfiguration<javax.xml.stream.XMLStreamWriter> config) throws de.smartics.report.ReportException
run(ProjectConfiguration,XMLStreamWriter)
.
config
- the configuration to control the discovery process.
de.smartics.report.ReportException
- on any problem generating the report.
run(ProjectConfiguration,XMLStreamWriter)
public void run(de.smartics.report.conf.ProjectConfiguration<javax.xml.stream.XMLStreamWriter> configuration, javax.xml.stream.XMLStreamWriter output) throws de.smartics.report.ReportException
configuration
- the configuration to control the discovery process.
output
- the writer to write to. This overrules the report file in the configuration. If the writer is
null
the report file is required to be set.
de.smartics.report.ReportException
- on any problem generating the report.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |