Package org.netbeans.jemmy.drivers
Class SupportiveDriver
- java.lang.Object
-
- org.netbeans.jemmy.drivers.SupportiveDriver
-
-
Constructor Summary
Constructors Constructor Description SupportiveDriver(Class[] supported)
Creates an instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkSupported(ComponentOperator oper)
ThrowsUnsupportedOperatorException
exception if parameter's class is not in list of supported classes.Class[]
getSupported()
Returns array of operator classes which are supported by this driver.
-
-
-
Constructor Detail
-
SupportiveDriver
public SupportiveDriver(Class[] supported)
Creates an instance.- Parameters:
supported
- Array of operator classes which are supported by this driver.
-
-
Method Detail
-
checkSupported
public void checkSupported(ComponentOperator oper)
ThrowsUnsupportedOperatorException
exception if parameter's class is not in list of supported classes.- Parameters:
oper
- Operator whose class should be checked.- Throws:
UnsupportedOperatorException
-
getSupported
public Class[] getSupported()
Returns array of operator classes which are supported by this driver.- Specified by:
getSupported
in interfaceDriver
- Returns:
- an array of supported operators' classes.
-
-