| Apache JMeter | |
| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectorg.apache.jmeter.testelement.AbstractTestElementorg.apache.jmeter.control.GenericControllerorg.apache.jmeter.control.WhileControllerField Summary |
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 | |
| |
Method Summary | |
String | |
Sampler |
|
protected Sampler |
|
void |
|
Methods inherited from class org.apache.jmeter.control.GenericController | |
addIterationListener, addTestElement, currentReturnedNull, fireIterEvents, fireIterationStart, getCurrentElement, getIterCount, getSubControllers, incrementCurrent, incrementIterCount, initialize, isDone, isFirst, next, nextIsAController, nextIsASampler, nextIsNull, reInitialize, removeCurrentElement, resetCurrent, resetIterCount, setCurrentElement, setDone, setFirst | |
public String getCondition()
- Returns:
- the condition
public Sampler next()
Determines the next sampler to be processed. If isDone, returns null. Gets the list element using current pointer. If this is null, callsGenericController.nextIsNull(). If the list element is a sampler, callsGenericController.nextIsASampler(Sampler), otherwise callsGenericController.nextIsAController(Controller)If any of the called methods throws NextIsNullException, returns null, otherwise the value obtained above is returned.
- Specified by:
- next in interface Controller
- Overrides:
- next in interface GenericController
- Returns:
- the next sampler or null
protected Sampler nextIsNull() throws NextIsNullException
Called by next() when getCurrentElement() returns null. Reinitialises the controller.
- Overrides:
- nextIsNull in interface GenericController
- Returns:
- null (always, for this class)
- Throws:
NextIsNullException-
public void setCondition(String string)
- Parameters:
string- the condition to save