@PersistantProperty(property="executables",alias="executable") @PersistantProperty(property="stopAtFirstValidatedCondition",defaultValue="true") @PersistantProperty(property="resetCache",defaultValue="false") @PersistantProperty(property="indexVar") @PersistantProperty(property="start") @PersistantProperty(property="end") @PersistantProperty(property="iterations") @PersistantProperty(property="increment") public class MForEachNumber extends AbstractVariableCreator
IExecutable.ValueReturning
Modifier and Type | Field and Description |
---|---|
static String |
FOREACHNUMBER_ID |
VAR_PREFIX
Constructor and Description |
---|
MForEachNumber()
Empty Constructor.
|
debugVariableCreation, getType, getVar, getVarName, setType, setVar
combineResults, compile, compileExecutables, execute, execute, execute, getProperties, getProperty, hasProperties, hasProperty, removeProperty, setProperty
getInternalCacheIdentifier, isCacheUsed, isInternalCacheIdentifierNeeded, optimize, resetCachedData, setInternalCacheIdentifier, toString, wasRegistered
getDebugInfo, getDescription, getName, setDebugInfo, setDescription, setName
finalize, getClass, notify, notifyAll, wait, wait, wait
getInternalCacheIdentifier, isCacheUsed, isInternalCacheIdentifierNeeded, optimize, resetCachedData, setInternalCacheIdentifier, wasRegistered
getDebugInfo, getDescription, getName, setDebugInfo, setDescription, setName
public static final String FOREACHNUMBER_ID
protected void compileExecutable(ICompilationContext ctxt) throws MRuleValidationException
AbstractExecutable
AbstractExecutable.compile(ICompilationContext)
to perform compilation operations.compileExecutable
in class AbstractVariableCreator
MRuleValidationException
protected IExecutionResult internalExecute(IExecutionContext ctxt) throws MExecutionException
internalExecute
in class AbstractExecutable
ExecutionResultState.combineActionState(ExecutionResultState)
) :
MExecutionException
public String getImplementationId()
IAddon
public void toString(OuterWithLevel outer) throws IOException
Outable
OuterWithLevel
.IOException
public MForEachNumber clone()
IAddon
clone
in interface IAddon
clone
in interface IMRulesObject
clone
in interface IExecutable
clone
in class AbstractVariableCreator
public boolean equals(Object o)
equals
in class AbstractVariableCreator
public int hashCode()
hashCode
in class AbstractVariableCreator
public List<? extends IExecutable> getExecutables()
public void setExecutables(List<? extends IExecutable> executables)
public boolean isStopAtFirstValidatedCondition()
public void setStopAtFirstValidatedCondition(boolean stopAtFirstValidatedCondition)
public boolean isResetCache()
public void setResetCache(boolean resetCache)
public String getIndexVarName()
public String getIndexVar()
public final void setIndexVar(String indexVar)
public IReadAccessor getStart()
public void setStart(IReadAccessor start)
public IReadAccessor getEnd()
public void setEnd(IReadAccessor end)
public IReadAccessor getIterations()
public void setIterations(IReadAccessor iterations)
public IReadAccessor getIncrement()
public void setIncrement(IReadAccessor increment)