public class PluginIterator extends PluginIterable
Example:
Given the following list:The CSS annotated version would be:
n square 3 9 5 25 Iterate over list and check #{n}^2 = #{square}.
<table border=1 class="map" name="numbers">
<tr>
<th>n</th>
<th>square</th>
</tr>
<tr>
<td>3</td>
<td>9</td>
</tr>
<tr>
<td>5</td>
<td>25</td>
</tr>
<table>
<p>
Iterate over list and check
<span class="iterator" name="numbers">
<span class="eq">
<span class="left" value="${Math.pow(n,2)}">#{n}^2<span> = <span class="right">#{square}<span>
<span>
<span>.
varscopenameFEATURE_CONDITION, FEATURE_NORMALIZED, FEATURE_NORMALIZER, FEATURE_SLEEP, FEATURE_THREADSAFE, FEATURE_TIMEOUT, FEATURE_WAITparameters| Constructor and Description |
|---|
PluginIterator() |
| Modifier and Type | Method and Description |
|---|---|
ENext |
doStart(IContext context,
IResultSet result)
Performs the start action.
|
ActionType |
getActionType()
Get the plugin type.
|
getVar, setVargetScope, saveGlobal, saveLocal, saveStrict, setScopegetName, setNamecopy, doEnd, getCondition, getConditionModel, getNormalized, getNormalized, getNormalizer, getParent, getSleep, getSleepModel, getThreadsafe, getTimeout, getTimeoutModel, getWait, getWaitModel, initialize, setCondition, setConditionModel, setNormalized, setNormalizer, setParent, setSleep, setSleepModel, setThreadsafe, setTimeout, setTimeoutModel, setWait, setWaitModel, toStringgetParameters, setParametersclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetParameters, setParameterspublic ActionType getActionType()
IActionTypepublic ENext doStart(IContext context, IResultSet result) throws PluginException
IPlugindoStart in interface IPlugindoStart in class AbstractPlugincontext - The context.result - The result set.PluginException - On execution errors.Copyright © 2016. All rights reserved.