public class DurationTime extends Object implements TestDuration
TestDuration.TestProgress| Constructor and Description |
|---|
DurationTime(String timeSpec) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canContinue(TestDuration.TestProgress snapshot)
Whether the test can continue based on the current test's progress
|
String |
durationTypeName()
Gets the type name for the duration (ie.: "time", "count", etc).
|
TestDuration |
getCoolDownDuration()
Get the cool down duration
|
long |
getNumericDuration()
Get the numeric time duration
|
TestDuration |
getWarmUpDuration()
Get the warm up duration
|
String |
toString() |
public DurationTime(String timeSpec) throws DurationParseException
DurationParseExceptionpublic boolean canContinue(TestDuration.TestProgress snapshot)
TestDurationcanContinue in interface TestDurationsnapshot - current progressespublic long getNumericDuration()
TestDurationgetNumericDuration in interface TestDurationpublic TestDuration getWarmUpDuration()
TestDurationgetWarmUpDuration in interface TestDurationpublic TestDuration getCoolDownDuration()
TestDurationgetCoolDownDuration in interface TestDurationpublic String durationTypeName()
TestDurationdurationTypeName in interface TestDurationThis documentation was released into the public domain.