@PersistantProperty(property="executables",alias="executable") @PersistantProperty(property="overrideCompilationLevel") @PersistantProperty(property="stopAtFirstValidatedCondition",defaultValue="false") public class MExecutionBlock extends AbstractExecutable
IExecutable.ValueReturning
Constructor and Description |
---|
MExecutionBlock()
Empty Constructor.
|
MExecutionBlock(List<IExecutable> executables)
Constructor with executables
|
Modifier and Type | Method and Description |
---|---|
MExecutionBlock |
clone()
Clones the Addon.
|
protected void |
compileExecutable(ICompilationContext ctxt)
Called by
AbstractExecutable.compile(ICompilationContext) to perform compilation operations. |
boolean |
equals(Object o) |
List<? extends IExecutable> |
getExecutables() |
String |
getImplementationId()
Unique addon implementation ID.
|
CompilationLevel |
getOverrideCompilationLevel() |
int |
hashCode() |
protected IExecutionResult |
internalExecute(IExecutionContext ctxt) |
boolean |
isStopAtFirstValidatedCondition() |
void |
setExecutables(List<? extends IExecutable> elses) |
void |
setOverrideCompilationLevel(CompilationLevel overrideCompilationLevel) |
void |
setStopAtFirstValidatedCondition(boolean stopAtFirstValidatedCondition) |
void |
toString(OuterWithLevel outer)
Method used to send String representation of the current object to the
OuterWithLevel . |
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 BLOCK_ID
public MExecutionBlock()
public MExecutionBlock(List<IExecutable> executables)
protected void compileExecutable(ICompilationContext ctxt) throws MRuleValidationException
AbstractExecutable
AbstractExecutable.compile(ICompilationContext)
to perform compilation operations.compileExecutable
in class AbstractExecutable
MRuleValidationException
protected IExecutionResult internalExecute(IExecutionContext ctxt) throws MExecutionException
internalExecute
in class AbstractExecutable
ExecutionResultState.combineActionState(ExecutionResultState)
) :
MExecutionException
public String getImplementationId()
IAddon
public MExecutionBlock clone()
IAddon
clone
in interface IAddon
clone
in interface IMRulesObject
clone
in interface IExecutable
clone
in class AbstractExecutable
public void toString(OuterWithLevel outer) throws IOException
Outable
OuterWithLevel
.IOException
public List<? extends IExecutable> getExecutables()
public void setExecutables(List<? extends IExecutable> elses)
public CompilationLevel getOverrideCompilationLevel()
public void setOverrideCompilationLevel(CompilationLevel overrideCompilationLevel)
public boolean isStopAtFirstValidatedCondition()
public void setStopAtFirstValidatedCondition(boolean stopAtFirstValidatedCondition)