Package com.hp.lft.sdk.mobile
Class DeviceSessionOptions
java.lang.Object
com.hp.lft.sdk.mobile.DeviceSessionOptions
Defines the options that will be used during the device session.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionReturns theApplicationDescriptionarray representing additional applications to install.Returns theDeviceVitalsCollectOptionsdefining which device vitals should be collected in this session.Returns aDeviceSourcerepresenting the source of the device to use.booleanIndicates whether logs should be collected in this session.booleanIndicates whether Service Virtualization is enabled in this session.setAppsToInstall(ApplicationDescription[] appsToInstall) Sets theApplicationDescriptionarray representing additional applications to install.setCollectLogs(boolean collectLogs) Sets whether logs should be collected in this session.setCollectVitals(DeviceVitalsCollectOptions collectVitals) Sets theDeviceVitalsCollectOptionsdefining which device vitals should be collected in this session.setDeviceSource(DeviceSource deviceSource) Sets theDeviceSourcerepresenting the source of the device to use.setEnableServiceVirtualization(boolean enableServiceVirtualization) Sets whether Service Virtualization should be enabled in this session.
- 
Constructor Details- 
DeviceSessionOptionspublic DeviceSessionOptions()Creates a new instance ofDeviceSessionOptions.
 
- 
- 
Method Details- 
getAppsToInstallReturns theApplicationDescriptionarray representing additional applications to install.- Returns:
- the ApplicationDescriptionarray representing additional applications to install.
 
- 
setAppsToInstallSets theApplicationDescriptionarray representing additional applications to install.- Parameters:
- appsToInstall- the- ApplicationDescriptionarray representing additional applications to install.
- Returns:
- the DeviceSessionOptionsinstance with the updated state (builder pattern).
 
- 
getDeviceSourceReturns aDeviceSourcerepresenting the source of the device to use.- Returns:
- a DeviceSourcerepresenting the source of the device to use.
 
- 
setDeviceSourceSets theDeviceSourcerepresenting the source of the device to use.- Parameters:
- deviceSource- the- DeviceSourcerepresenting the source of the device to use.
- Returns:
- the DeviceSessionOptionsinstance with the updated state (builder pattern).
 
- 
isCollectLogspublic boolean isCollectLogs()Indicates whether logs should be collected in this session. The default value for collectLogs is true.- Returns:
- true if logs should be collected in this session.
 
- 
setCollectLogsSets whether logs should be collected in this session.- Parameters:
- collectLogs- true if logs should be collected in this session.
- Returns:
- the DeviceSessionOptionsinstance with the updated state (builder pattern).
 
- 
getCollectVitalsReturns theDeviceVitalsCollectOptionsdefining which device vitals should be collected in this session.- Returns:
- the DeviceVitalsCollectOptionsdefining which device vitals should be collected in this session.
 
- 
setCollectVitalsSets theDeviceVitalsCollectOptionsdefining which device vitals should be collected in this session.- Parameters:
- collectVitals- the- DeviceVitalsCollectOptionsdefining which device vitals should be collected in this session.
- Returns:
- the DeviceSessionOptionsinstance with the updated state (builder pattern).
 
- 
isEnableServiceVirtualizationpublic boolean isEnableServiceVirtualization()Indicates whether Service Virtualization is enabled in this session. The default value for enableServiceVirtualization is false.- Returns:
- true if Service Virtualization is enabled in this session.
 
- 
setEnableServiceVirtualizationSets whether Service Virtualization should be enabled in this session.- Parameters:
- enableServiceVirtualization- true if Service Virtualization should be enabled in this session.
- Returns:
- the DeviceSessionOptionsinstance with the updated state (builder pattern).
 
 
-