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.
|
addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
public 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 LoopIterationListener
event
- the eventLoopIterationListener.iterationStart(LoopIterationEvent)
Copyright © 1998-2012 Apache Software Foundation. All Rights Reserved.