org.apache.jmeter.control
Class InterleaveControl
- Cloneable, Serializable, Controller, TestElement
public class InterleaveControl
implements Serializable
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)
|
addIterationListener , addTestElement , currentReturnedNull , fireIterEvents , fireIterationStart , getCurrentElement , getIterCount , getSubControllers , incrementCurrent , incrementIterCount , initialize , isDone , isFirst , next , nextIsAController , nextIsASampler , nextIsNull , reInitialize , removeCurrentElement , resetCurrent , resetIterCount , setCurrentElement , setDone , setFirst |
addProperty , addTestElement , canRemove , clear , clearTemporary , clone , emptyTemporary , equals , getComment , getName , getProperty , getPropertyAsBoolean , getPropertyAsBoolean , getPropertyAsDouble , getPropertyAsFloat , getPropertyAsInt , getPropertyAsInt , 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 |
IGNORE_SUB_CONTROLLERS
public static final int IGNORE_SUB_CONTROLLERS
USE_SUB_CONTROLLERS
public static final int USE_SUB_CONTROLLERS
InterleaveControl
public InterleaveControl()
Constructor for the InterleaveControl object
getStyle
public int getStyle()
incrementCurrent
protected void incrementCurrent()
Increments the current pointer; called by currentReturnedNull to move the
controller on to its next child.
- incrementCurrent in interface GenericController
isSkipNext
protected boolean isSkipNext()
nextIsNull
protected Sampler nextIsNull()
If the current is null, reset and continue searching. The searchStart
attribute will break us off when we start a repeat.
- nextIsNull in interface GenericController
reInitialize
public 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
- reInitialize in interface GenericController
setSkipNext
protected void setSkipNext(boolean skipNext)
setStyle
public void setStyle(int style)
Copyright © 1998-2010 Apache Software Foundation. All Rights Reserved.