|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.sqlunit.ant.ReporterElement
public class ReporterElement
Handles the nested <reporter> tag of SQLUnit Ant task.
Nested Class Summary | |
---|---|
static class |
ReporterElement.LogFormatAttribute
Defines the valid values for logformat attribute. |
Field Summary | |
---|---|
static java.lang.String |
CANOO_REPORTER_CLASSNAME
The class name of the CanooWebTest reporter. |
static java.lang.String |
DEFAULT_REPORTER_CLASSNAME
The class name of the default reporter. |
Constructor Summary | |
---|---|
ReporterElement()
|
Method Summary | |
---|---|
IReporter |
createReporter()
Creates a new IReporter that corresponds to the current ReporterElement. |
java.lang.String |
getClassName()
Returns the class name of the reporter. |
java.lang.String |
getFile()
Returns the name of the file that will store the output. |
void |
setClassName(java.lang.String className)
Sets the class name of the reporter. |
void |
setFile(java.lang.String file)
Sets the name of the output file. |
void |
setLogFormat(ReporterElement.LogFormatAttribute format)
Sets the format of the reporter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String DEFAULT_REPORTER_CLASSNAME
public static final java.lang.String CANOO_REPORTER_CLASSNAME
Constructor Detail |
---|
public ReporterElement()
Method Detail |
---|
public java.lang.String getClassName()
setClassName(String)
public void setClassName(java.lang.String className)
className
- the class name of the reporter.getClassName()
public java.lang.String getFile()
setFile(String)
public void setFile(java.lang.String file)
file
- the name of the output filegetFile()
public void setLogFormat(ReporterElement.LogFormatAttribute format)
format
- the type of the reporterpublic IReporter createReporter() throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException
- if an exception is raised
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |