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, traverseProperty
finalize, getClass, notify, notifyAll, wait, wait, wait
isModifiable
removed
public static final String DELAY
public void setDelay(String delay)
delay
- The delay for this timerpublic void setRange(double range)
range
- Not usedpublic 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-2019 Apache Software Foundation. All Rights Reserved.