Class DeviceMinutes
- All Implemented Interfaces:
Serializable
,Cloneable
Represents the total (metered or unmetered) minutes used by the resource to run tests. Contains the sum of minutes consumed by all children.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
When specified, represents only the sum of metered minutes used by the resource to run tests.getTotal()
When specified, represents the total minutes used by the resource to run tests.When specified, represents only the sum of unmetered minutes used by the resource to run tests.int
hashCode()
void
setMetered
(Double metered) When specified, represents only the sum of metered minutes used by the resource to run tests.void
When specified, represents the total minutes used by the resource to run tests.void
setUnmetered
(Double unmetered) When specified, represents only the sum of unmetered minutes used by the resource to run tests.toString()
Returns a string representation of this object; useful for testing and debugging.withMetered
(Double metered) When specified, represents only the sum of metered minutes used by the resource to run tests.When specified, represents the total minutes used by the resource to run tests.withUnmetered
(Double unmetered) When specified, represents only the sum of unmetered minutes used by the resource to run tests.
-
Constructor Details
-
DeviceMinutes
public DeviceMinutes()
-
-
Method Details
-
setTotal
When specified, represents the total minutes used by the resource to run tests.
- Parameters:
total
- When specified, represents the total minutes used by the resource to run tests.
-
getTotal
When specified, represents the total minutes used by the resource to run tests.
- Returns:
- When specified, represents the total minutes used by the resource to run tests.
-
withTotal
When specified, represents the total minutes used by the resource to run tests.
- Parameters:
total
- When specified, represents the total minutes used by the resource to run tests.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMetered
When specified, represents only the sum of metered minutes used by the resource to run tests.
- Parameters:
metered
- When specified, represents only the sum of metered minutes used by the resource to run tests.
-
getMetered
When specified, represents only the sum of metered minutes used by the resource to run tests.
- Returns:
- When specified, represents only the sum of metered minutes used by the resource to run tests.
-
withMetered
When specified, represents only the sum of metered minutes used by the resource to run tests.
- Parameters:
metered
- When specified, represents only the sum of metered minutes used by the resource to run tests.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setUnmetered
When specified, represents only the sum of unmetered minutes used by the resource to run tests.
- Parameters:
unmetered
- When specified, represents only the sum of unmetered minutes used by the resource to run tests.
-
getUnmetered
When specified, represents only the sum of unmetered minutes used by the resource to run tests.
- Returns:
- When specified, represents only the sum of unmetered minutes used by the resource to run tests.
-
withUnmetered
When specified, represents only the sum of unmetered minutes used by the resource to run tests.
- Parameters:
unmetered
- When specified, represents only the sum of unmetered minutes used by the resource to run tests.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-