setUnless(String unlessProperty) Set whether this formatter should NOT be used.
public void
setUseFile(boolean useFile) Set whether the formatter should log to file.
public boolean
shouldUse(Task t) Ensures that the selector passes the conditions placed
on it with if and unless properties.
Parameters: t - the task the this formatter is used in.
Field Detail
BRIEF_FORMATTER_CLASS_NAME
final public static String BRIEF_FORMATTER_CLASS_NAME(Code)
brief formatter class
PLAIN_FORMATTER_CLASS_NAME
final public static String PLAIN_FORMATTER_CLASS_NAME(Code)
plain formatter class
XML_FORMATTER_CLASS_NAME
final public static String XML_FORMATTER_CLASS_NAME(Code)
At the moment, there are three supported standard formatters.
The xml type uses a XMLJUnitResultFormatter.
The brief type uses a BriefJUnitResultFormatter.
The plain type (the default) uses a PlainJUnitResultFormatter.
Sets classname attribute - so you can't use that
attribute if you use this one.
Parameters: type - the enumerated value to use.
setUnless
public void setUnless(String unlessProperty)(Code)
Set whether this formatter should NOT be used. It
will not be used if the property has been set, orthwise it
will be used.
Parameters: unlessProperty - name of property
Ensures that the selector passes the conditions placed
on it with if and unless properties.
Parameters: t - the task the this formatter is used in. true if the formatter should be used.