org.apache.anteater.test.meta
Class JSSEChecker

java.lang.Object
  |
  +--org.apache.anteater.test.meta.AbstractChecker
        |
        +--org.apache.anteater.test.meta.JSSEChecker
All Implemented Interfaces:
FeatureChecker

public class JSSEChecker
extends AbstractChecker

Checks whether the javax.net.ssl classes are available.

Version:
$Revision: 1.1 $ $Date: 2002/10/24 16:27:40 $
Author:
Jeff Turner

Field Summary
 
Fields inherited from class org.apache.anteater.test.meta.AbstractChecker
features
 
Constructor Summary
JSSEChecker()
           
 
Method Summary
 String checkFeature(Feature f)
          Check whether this Anteater installation has a feature.
 String[] getCheckedFeatures()
          Gets an array of names of features that the implementing FeatureChecker can process.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSSEChecker

public JSSEChecker()
Method Detail

getCheckedFeatures

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

Specified by:
getCheckedFeatures in interface FeatureChecker
Specified by:
getCheckedFeatures in class AbstractChecker

checkFeature

public String checkFeature(Feature f)
Description copied from interface: FeatureChecker
Check whether this Anteater installation has a feature.

Specified by:
checkFeature in interface FeatureChecker
Specified by:
checkFeature in class AbstractChecker
Parameters:
f - 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