Package com.hp.lft.sdk
Class DescriptionBase.Init<T extends DescriptionBase.Init<T>>
java.lang.Object
com.hp.lft.sdk.DescriptionBase.Init<T>
- Direct Known Subclasses:
DescriptionBase.Builder
,ElementDescription.Init
,FieldDescription.Init
,GuiSessionDescription.Init
,PageDescription.Init
,ScreenDescription.Init
,UiObjectBaseDescription.Init
,UiObjectBaseDescription.Init
,UiObjectBaseDescription.Init
,UiObjectBaseDescription.Init
,UiObjectBaseDescription.Init
,UiObjectDescriptionBase.Init
,UiObjectDescriptionBase.Init
,WebBaseDescription.Init
,WindowDescription.Init
- Enclosing class:
- DescriptionBase
protected abstract static class DescriptionBase.Init<T extends DescriptionBase.Init<T>>
extends Object
Helper class for DescriptionBase.Builder.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Returns the built description instance (builder pattern).Initializes the index of this object.objectProperties
(Map<String, Object> objectProperties) Initializes the test object properties, including custom properties of a custom control.protected abstract T
self()
vri
(VisualRelation... visualRelations) Initializes a VisualRelation definition.vri
(List<VisualRelation> visualRelations) Initializes a VisualRelation definition.
-
Constructor Details
-
Init
protected Init()
-
-
Method Details
-
self
-
objectProperties
Initializes the test object properties, including custom properties of a custom control.- Parameters:
objectProperties
- the test object properties- Returns:
- the description instance with the update state (builder pattern)
-
index
Initializes the index of this object.
The index helps to distinguish the object, based on its order of appearance in the application screen relative to all other objects with an otherwise identical description.- Parameters:
index
- the index of the object.- Returns:
- the description instance with the update state (builder pattern).
-
vri
Initializes a VisualRelation definition.
The VRI definition helps to distinguish this object from other objects with otherwise identical descriptions, based on this object's visual relationship to another object in the application.- Parameters:
visualRelations
- theVisualRelation
object containing the VRI definition for this object.- Returns:
- the description instance with the updated state (builder pattern).
-
vri
Initializes a VisualRelation definition.
The VRI definition helps to distinguish this object from other objects with otherwise identical descriptions, based on this object's visual relationship to another object in the application.- Parameters:
visualRelations
- theVisualRelation
object containing the VRI definition for this object.- Returns:
- the description instance with the updated state (builder pattern).
-
build
Returns the built description instance (builder pattern).- Returns:
- The built description instance (builder pattern).
-