org.jtiger.ant
Class Category

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

public final class Category
extends Object

An element used in the Ant task to specify a regular expression which categories of test cases are to be executed by the framework. Omitting this element from the build file causes test cases in any category to be executed.

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

Constructor Summary
Category()
          Create a default Category.
Category(String regex)
          Create a Category with the given regular expression.
 
Method Summary
 String getRegex()
          Returns the regular expression for this category.
 void setRegex(String regex)
          Sets the regular expression for this category.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Category

public Category()
Create a default Category.


Category

public Category(String regex)
Create a Category with the given regular expression.

Parameters:
regex - The regular expression of the Category.
Method Detail

getRegex

public String getRegex()
Returns the regular expression for this category.

Returns:
The regular expression for this category.

setRegex

public void setRegex(String regex)
Sets the regular expression for this category.

Parameters:
regex - The regular expression for this category.