org.apache.anteater.test.meta
Interface FeatureChecker

All Known Implementing Classes:
AbstractChecker

public interface FeatureChecker

A FeatureChecker can validate whether a Feature is present in the current Anteater install.

Version:
$Revision: 1.1 $ $Date: 2002/10/17 10:21:15 $
Author:
Jeff Turner

Method Summary
 String checkFeature(Feature feature)
          Check whether this Anteater installation has a feature.
 String[] getCheckedFeatures()
          Gets an array of names of features that the implementing FeatureChecker can process.
 

Method Detail

getCheckedFeatures

public String[] getCheckedFeatures()
Gets an array of names of features that the implementing FeatureChecker can process.


checkFeature

public String checkFeature(Feature feature)
Check whether this Anteater installation has a feature.

Parameters:
feature - The feature we require.
Returns:
A String error message if the feature is missing, or null if the feature is present.


Ant Functional Tester -- see Project home page for details