Package com.hp.lft.sdk.mobile
Class DeviceVitalsCollectOptions
java.lang.Object
com.hp.lft.sdk.mobile.DeviceVitalsCollectOptions
Defines which device vitals should be collected.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic DeviceVitalsCollectOptionsall()Returns a new Instance ofDeviceVitalsCollectOptionswith all collection options set to true.booleanIndicates whether to collect the device CPU usage.booleanIndicates whether to collect the device free memory.booleanIndicates whether to collect the device memory usage.static DeviceVitalsCollectOptionsnone()Returns a new Instance ofDeviceVitalsCollectOptionswith all collection options set to false.setCollectCPU(boolean collectCPU) Sets whether to collect the device CPU usage.setCollectFreeMemory(boolean collectFreeMemory) Sets whether to collect the device free memory.setCollectMemory(boolean collectMemory) Sets whether to collect the device memory usage.
- 
Constructor Details- 
DeviceVitalsCollectOptionspublic DeviceVitalsCollectOptions()
 
- 
- 
Method Details- 
isCollectCPUpublic boolean isCollectCPU()Indicates whether to collect the device CPU usage.- Returns:
- true if device CPU usage should be collected.
 
- 
setCollectCPUSets whether to collect the device CPU usage.- Parameters:
- collectCPU- true if device CPU usage should be collected.
- Returns:
- the DeviceVitalsCollectOptionsinstance with the updated state (builder pattern).
 
- 
isCollectMemorypublic boolean isCollectMemory()Indicates whether to collect the device memory usage.- Returns:
- true if device memory usage should be collected.
 
- 
setCollectMemorySets whether to collect the device memory usage.- Parameters:
- collectMemory- true if device memory usage should be collected.
- Returns:
- the DeviceVitalsCollectOptionsinstance with the updated state (builder pattern).
 
- 
isCollectFreeMemorypublic boolean isCollectFreeMemory()Indicates whether to collect the device free memory.- Returns:
- true if device free memory should be collected.
 
- 
setCollectFreeMemorySets whether to collect the device free memory.- Parameters:
- collectFreeMemory- true if device free memory should be collected.
- Returns:
- the DeviceVitalsCollectOptionsinstance with the updated state (builder pattern).
 
- 
allReturns a new Instance ofDeviceVitalsCollectOptionswith all collection options set to true.- Returns:
- a new Instance of DeviceVitalsCollectOptionswith all collection options set to true.
 
- 
noneReturns a new Instance ofDeviceVitalsCollectOptionswith all collection options set to false.- Returns:
- a new Instance of DeviceVitalsCollectOptionswith all collection options set to false.
 
 
-