org.apache.anteater.test.meta
Class CheckUses

java.lang.Object
  |
  +--org.apache.tools.ant.ProjectComponent
        |
        +--org.apache.tools.ant.Task
              |
              +--org.apache.anteater.test.BaseTask
                    |
                    +--org.apache.anteater.test.meta.CheckUses
All Implemented Interfaces:
Groupable

public class CheckUses
extends BaseTask

Anteater Task that lets a script explicitly indicate where they want the features to be checked.

Normally, features are checked in each ActionTask, but sometimes one wishes to check for features before encountering any actions, eg in a init target.

This task has no attributes or nested elements. It validates requirements in the group it belongs to, which (as with all Tasks) is 'default' by default.

Version:
$Revision: 1.3 $ $Date: 2002/10/23 16:59:10 $
Author:
Jeff Turner

Field Summary
protected  List reqFeatures
           
 
Fields inherited from class org.apache.anteater.test.BaseTask
debug, debugWasSet
 
Fields inherited from class org.apache.tools.ant.Task
description, location, target, taskName, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
project
 
Constructor Summary
CheckUses()
           
 
Method Summary
 void execute()
           
 
Methods inherited from class org.apache.anteater.test.BaseTask
debug, getDebug, getGroup, print, println, resolveContentURL, setDebug, setGroup, setGroup
 
Methods inherited from class org.apache.tools.ant.Task
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, handleErrorOutput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
getProject, setProject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

reqFeatures

protected List reqFeatures
Constructor Detail

CheckUses

public CheckUses()
Method Detail

execute

public void execute()
Overrides:
execute in class org.apache.tools.ant.Task


Ant Functional Tester -- see Project home page for details