|
Apache JMeter | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jmeter.testelement.AbstractTestElement
org.apache.jmeter.control.GenericController
org.apache.jmeter.control.InterleaveControl
| Field Summary | |
static int |
IGNORE_SUB_CONTROLLERS
|
static int |
USE_SUB_CONTROLLERS
|
| Fields inherited from class org.apache.jmeter.control.GenericController |
current, subControllersAndSamplers |
| Fields inherited from interface org.apache.jmeter.testelement.TestElement |
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS |
| Constructor Summary | |
InterleaveControl()
Constructor for the InterleaveControl object |
|
| Method Summary | |
protected void |
currentReturnedNull(Controller c)
If the controller is done, remove it from the list, otherwise increment to next entry in list. |
int |
getStyle()
|
protected void |
incrementCurrent()
Increments the current pointer; called by currentReturnedNull to move the controller on to its next child. |
protected boolean |
isSkipNext()
|
Sampler |
next()
Determines the next sampler to be processed. |
protected Sampler |
nextIsAController(Controller controller)
Called by next() if the element is a Controller, and returns the next sampler from the controller. |
protected Sampler |
nextIsASampler(Sampler element)
Increment the current pointer and return the element. |
protected Sampler |
nextIsNull()
If the current is null, reset and continue searching. |
void |
reInitialize()
Resets the controller: resetCurrent() (i.e. current=0) increment iteration count sets first=true recoverRunningVersion() to set the controller back to the initial state |
protected void |
setCurrentElement(TestElement currentElement)
Empty implementation - does nothing. |
protected void |
setSkipNext(boolean skipNext)
|
void |
setStyle(int style)
|
| Methods inherited from class org.apache.jmeter.control.GenericController |
addIterationListener, addTestElement, fireIterationStart, fireIterEvents, getCurrentElement, getIterCount, getSubControllers, incrementIterCount, initialize, isDone, isFirst, removeCurrentElement, resetCurrent, resetIterCount, setDone, setFirst |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.jmeter.testelement.TestElement |
canRemove, clear, clone, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse |
| Field Detail |
public static final int IGNORE_SUB_CONTROLLERS
public static final int USE_SUB_CONTROLLERS
| Constructor Detail |
public InterleaveControl()
| Method Detail |
public void reInitialize()
GenericController
reInitialize in class GenericControllerpublic void setStyle(int style)
public int getStyle()
public Sampler next()
GenericControllerDetermines the next sampler to be processed.
If isDone, returns null.
Gets the list element using current pointer.
If this is null, calls GenericController.nextIsNull().
If the list element is a sampler, calls GenericController.nextIsASampler(Sampler),
otherwise calls GenericController.nextIsAController(Controller)
If any of the called methods throws NextIsNullException, returns null, otherwise the value obtained above is returned.
next in interface Controllernext in class GenericController
protected Sampler nextIsAController(Controller controller)
throws NextIsNullException
GenericController
nextIsAController in class GenericControllercontroller -
NextIsNullException
protected Sampler nextIsASampler(Sampler element)
throws NextIsNullException
GenericController
nextIsASampler in class GenericControllerelement -
NextIsNullExceptionprotected Sampler nextIsNull()
nextIsNull in class GenericControllerGenericController.nextIsNull()
protected void setCurrentElement(TestElement currentElement)
throws NextIsNullException
GenericController
setCurrentElement in class GenericControllercurrentElement -
NextIsNullExceptionprotected void currentReturnedNull(Controller c)
GenericController
currentReturnedNull in class GenericControllerc - controllerprotected boolean isSkipNext()
protected void setSkipNext(boolean skipNext)
skipNext - protected void incrementCurrent()
GenericController
incrementCurrent in class GenericController
|
Apache JMeter | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||