public class ConstantTimer extends AbstractTestElement implements Timer, Serializable, LoopIterationListener
| Modifier and Type | Field and Description |
|---|---|
static String |
DELAY |
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS| Constructor and Description |
|---|
ConstantTimer()
No-arg constructor.
|
| Modifier and Type | Method and Description |
|---|---|
long |
delay()
Retrieve the delay to use during test execution.
|
String |
getDelay()
Get the delay value for display.
|
double |
getRange()
Retrieve the range (not used for this timer).
|
void |
iterationStart(LoopIterationEvent event)
Gain access to any variables that have been defined.
|
void |
setDelay(String delay)
Set the delay for this timer.
|
void |
setRange(double range)
Set the range (not used for this timer).
|
String |
toString()
Provide a description of this timer class.
|
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traversePropertypublic static final String DELAY
public void setDelay(String delay)
public void setRange(double range)
public String getDelay()
public double getRange()
public long delay()
public String toString()
public void iterationStart(LoopIterationEvent event)
iterationStart in interface LoopIterationListenerevent - the eventLoopIterationListener.iterationStart(LoopIterationEvent)Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved.