Package com.hp.lft.sdk.ai
Class AiUtil
java.lang.Object
com.hp.lft.sdk.ai.AiUtil
A utility object for Artificial-Intelligence-based (AI-based) testing.+
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic voidregisterCustomClass(String className, Path imagePath) Registers an image as AI custom class.static voidUnregisters all custom classes.static voidunregisterCustomClass(String className) Unregisters an AI custom class.
- 
Constructor Details- 
AiUtilpublic AiUtil()
 
- 
- 
Method Details- 
registerCustomClasspublic static void registerCustomClass(String className, Path imagePath) throws GeneralLeanFtException, IOException Registers an image as AI custom class.- Parameters:
- className- the class name to be registered.
- imagePath- the path of the image to be registered.
- Throws:
- GeneralLeanFtException- if error occurs during execution
- IOException- if error occurs during execution
 
- 
unregisterCustomClassUnregisters an AI custom class.- Parameters:
- className- the class name to be unregistered.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
unregisterAllCustomClassesUnregisters all custom classes.- Throws:
- GeneralLeanFtException- if error occurs during execution
 
 
-