public class CounterConfig extends AbstractTestElement implements Serializable, LoopIterationListener, NoThreadClone
Modifier and Type | Field and Description |
---|---|
static String |
PER_USER |
static String |
VAR_NAME |
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
Constructor and Description |
---|
CounterConfig() |
Modifier and Type | Method and Description |
---|---|
long |
getEnd() |
String |
getEndAsString() |
String |
getFormat() |
long |
getIncrement() |
String |
getIncrementAsString() |
long |
getStart() |
String |
getStartAsString() |
String |
getVarName() |
boolean |
isPerUser() |
void |
iterationStart(LoopIterationEvent event)
Called when a loop iteration is about to start.
|
void |
setEnd(long end) |
void |
setEnd(String end) |
void |
setFormat(String format) |
void |
setIncrement(long inc) |
void |
setIncrement(String incr) |
void |
setIsPerUser(boolean isPer) |
void |
setStart(long start) |
void |
setStart(String start) |
void |
setVarName(String name) |
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 PER_USER
public static final String VAR_NAME
public void iterationStart(LoopIterationEvent event)
LoopIterationListener
iterationStart
in interface LoopIterationListener
event
- the eventLoopIterationListener.iterationStart(LoopIterationEvent)
public void setStart(long start)
public void setStart(String start)
public long getStart()
public String getStartAsString()
public void setEnd(long end)
public void setEnd(String end)
public long getEnd()
public String getEndAsString()
public void setIncrement(long inc)
public void setIncrement(String incr)
public long getIncrement()
public String getIncrementAsString()
public void setIsPerUser(boolean isPer)
public boolean isPerUser()
public void setVarName(String name)
public String getVarName()
public void setFormat(String format)
public String getFormat()
Copyright © 1998-2012 Apache Software Foundation. All Rights Reserved.