org.jtiger.ant
Class Result

java.lang.Object
  extended by org.jtiger.ant.Result

public final class Result
extends Object

An element used in the Ant task to specify how the test result is handled. The name attribute must be a class name that implements the FixtureResultsHandler interface. There are four (4) special, case-insensitive values for the name attribute, "~html", "~xml", "~text" and "~failure". These four values are aliases for HtmlFixtureResultsHandler, XmlFixtureResultsHandler and TextFixtureResultsHandler respectively. Each of these four special values require at least one Param be specified.

Version:
2.1
Build Number 0376
Build Time 2006-07-28 01:50.16.218 CET (GMT + 1)
Author:
Tony Morris
See Also:
FixtureResultsHandler, JTigerTask

Constructor Summary
Result()
          Create a default Result.
 
Method Summary
 Param createParam()
          Creates a param for this result..
 String getName()
          Returns the name for this result.
 void setName(String name)
          Sets the name for this result.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Result

public Result()
Create a default Result.

Method Detail

getName

public String getName()
Returns the name for this result.

Returns:
The name for this result.

setName

public void setName(String name)
Sets the name for this result.

Parameters:
name - The name for this result.

createParam

public Param createParam()
Creates a param for this result..

Returns:
A param for this result.