Package com.hp.lft.sdk.ai
Class AiObjectDescription.Init<T extends AiObjectDescription.Init<T>>
java.lang.Object
com.hp.lft.sdk.ai.AiObjectDescription.Init<T>
- Direct Known Subclasses:
AiObjectDescription.Builder
- Enclosing class:
- AiObjectDescription
protected abstract static class AiObjectDescription.Init<T extends AiObjectDescription.Init<T>>
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionInitializes the object's aiClass property.build()Initializes the object's locator property.Initializes the object's regex pattern property.protected abstract Tself()Initializes the object's text property.textWithMatchOptions(TextWithMatchOptions textWithMatchOptions) Initializes the object's text with options property.
-
Constructor Details
-
Init
protected Init()
-
-
Method Details
-
self
-
build
-
aiClass
Initializes the object's aiClass property.- Parameters:
aiClass- the AI Class type of the AI object (you can use theAiTypeshelper class).- Returns:
- the description instance with the updated state (builder pattern).
-
text
Initializes the object's text property.- Parameters:
text- the text used to identify the AI Object.- Returns:
- the description instance with the updated state (builder pattern).
-
regExp
Initializes the object's regex pattern property.- Parameters:
pattern- the regular expression used to identify the AI Object.- Returns:
- the description instance with the updated state (builder pattern).
-
textWithMatchOptions
Initializes the object's text with options property.- Parameters:
textWithMatchOptions- the text and match method used to identify the AI Object.- Returns:
- the description instance with the updated state (builder pattern).
-
locator
Initializes the object's locator property.- Parameters:
locator- used to describe the unique location of an object that may appear multiple times in the application.- Returns:
- the description instance with the updated state (builder pattern).
-