public class UserParameters extends AbstractTestElement implements Serializable, PreProcessor, LoopIterationListener
Modifier and Type | Field and Description |
---|---|
static String |
NAMES |
static String |
PER_ITERATION |
static String |
THREAD_VALUES |
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
Constructor and Description |
---|
UserParameters() |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
CollectionProperty |
getNames() |
CollectionProperty |
getThreadLists() |
boolean |
isPerIteration() |
void |
iterationStart(LoopIterationEvent event)
Called when a loop iteration is about to start.
|
protected void |
mergeIn(TestElement element) |
void |
process() |
void |
setNames(Collection<?> list)
The list of names of the variables to hold values.
|
void |
setNames(CollectionProperty list)
The list of names of the variables to hold values.
|
void |
setPerIteration(boolean perIter) |
void |
setThreadLists(Collection<?> threadLists)
The thread list is a list of lists.
|
void |
setThreadLists(CollectionProperty threadLists)
The thread list is a list of lists.
|
addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, propertyIterator, recoverRunningVersion, removeProperty, setComment, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
public static final String NAMES
public static final String THREAD_VALUES
public static final String PER_ITERATION
public CollectionProperty getNames()
public CollectionProperty getThreadLists()
public void setNames(Collection<?> list)
setThreadLists(Collection)
.public void setNames(CollectionProperty list)
setThreadLists(CollectionProperty)
.public void setThreadLists(Collection<?> threadLists)
public void setThreadLists(CollectionProperty threadLists)
public boolean isPerIteration()
public void setPerIteration(boolean perIter)
public void process()
process
in interface PreProcessor
public void iterationStart(LoopIterationEvent event)
LoopIterationListener
iterationStart
in interface LoopIterationListener
event
- the eventLoopIterationListener.iterationStart(LoopIterationEvent)
public Object clone()
clone
in interface TestElement
clone
in class AbstractTestElement
protected void mergeIn(TestElement element)
mergeIn
in class AbstractTestElement
Copyright © 1998-2012 Apache Software Foundation. All Rights Reserved.