Package com.hp.lft.sdk.mobile
Class DeviceDescription.Init<T extends DeviceDescription.Init<T>>
java.lang.Object
com.hp.lft.sdk.mobile.DeviceDescription.Init<T>
- Direct Known Subclasses:
DeviceDescription.Builder
- Enclosing class:
- DeviceDescription
protected abstract static class DeviceDescription.Init<T extends DeviceDescription.Init<T>>
extends Object
Helper class for DeviceDescription.Builder.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Initializes the fleetType of the device used in OpenText Functional Testing Lab.Initializes the device ID used in OpenText Functional Testing Lab.Initializes the location of the device used in OpenText Functional Testing Lab.manufacturer
(String manufacturer) Initializes the name of the manufacturer of the device used in OpenText Functional Testing Lab.Initializes the model of the device used in OpenText Functional Testing Lab.Initializes the logical name of the device used in OpenText Functional Testing Lab.Initializes the operating system currently running on the device.Initializes the version of the operating system currently running on the device.protected abstract T
self()
Initializes aDeviceDescription
capability to the given value.Initializes the source of the device used in OpenText Functional Testing Lab.
-
Constructor Details
-
Init
protected Init()
-
-
Method Details
-
self
-
build
-
id
Initializes the device ID used in OpenText Functional Testing Lab.- Parameters:
id
- the device ID used in OpenText Functional Testing Lab.- Returns:
- the description instance with the update state (builder pattern).
-
name
Initializes the logical name of the device used in OpenText Functional Testing Lab.- Parameters:
name
- the logical name of the device used in OpenText Functional Testing Lab.- Returns:
- the description instance with the update state (builder pattern).
-
osType
Initializes the operating system currently running on the device.- Parameters:
osType
- the operating system currently running on the device.- Returns:
- the description instance with the update state (builder pattern).
-
osVersion
Initializes the version of the operating system currently running on the device.The following symbols are supported:
>, >=, <, <=
For example:
osVersion(">4.0")
osVersion(">=4.1")
- Parameters:
osVersion
- the version of the operating system currently running on the device.- Returns:
- the description instance with the update state (builder pattern).
-
manufacturer
Initializes the name of the manufacturer of the device used in OpenText Functional Testing Lab.- Parameters:
manufacturer
- the name of the manufacturer of the device used in OpenText Functional Testing Lab.- Returns:
- the description instance with the update state (builder pattern).
-
model
Initializes the model of the device used in OpenText Functional Testing Lab.- Parameters:
model
- the model of the device used in OpenText Functional Testing Lab.- Returns:
- the description instance with the update state (builder pattern).
-
fleetType
Initializes the fleetType of the device used in OpenText Functional Testing Lab.- Parameters:
fleetType
- the fleetType of the device used in OpenText Functional Testing Lab.- Returns:
- the description instance with the update state (builder pattern).
-
location
Initializes the location of the device used in OpenText Functional Testing Lab.- Parameters:
location
- the location of the device used in OpenText Functional Testing Lab.- Returns:
- the description instance with the update state (builder pattern).
-
source
Initializes the source of the device used in OpenText Functional Testing Lab.- Parameters:
source
- the source of the device used in OpenText Functional Testing Lab.- Returns:
- the description instance with the update state (builder pattern).
-
set
Initializes aDeviceDescription
capability to the given value.- Parameters:
capability
- the name of the capability to set value for.value
- the new value of the capability.- Returns:
- the description instance with the update state (builder pattern).
-