@PersistantProperties(properties=@PersistantProperty(property="command")) public class MActionExec extends AbstractVariableCreator implements IAction
IExecutable.ValueReturning
Modifier and Type | Field and Description |
---|---|
static String |
EXEC_ID |
VAR_PREFIX
Constructor and Description |
---|
MActionExec() |
MActionExec(IReadAccessor command) |
Modifier and Type | Method and Description |
---|---|
MActionExec |
clone()
Clones the Addon.
|
protected void |
compileExecutable(ICompilationContext ctxt)
Called by
AbstractExecutable.compile(ICompilationContext) to perform compilation operations. |
boolean |
equals(Object o) |
IExecutionResult |
execute(IExecutionContext ctxt)
Overridden to change thrown exception.
|
IReadAccessor |
getCommand() |
String |
getImplementationId()
Unique addon implementation ID.
|
int |
hashCode() |
protected IExecutionResult |
internalExecute(IExecutionContext ctxt) |
void |
setCommand(IReadAccessor command) |
void |
toString(OuterWithLevel outer)
Method used to send String representation of the current object to the
OuterWithLevel . |
debugVariableCreation, getType, getVar, getVarName, setType, setVar
combineResults, compile, compileExecutables, 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
getProperties, hasProperties, hasProperty, removeProperty
getInternalCacheIdentifier, isCacheUsed, isInternalCacheIdentifierNeeded, optimize, resetCachedData, setInternalCacheIdentifier, wasRegistered
getDebugInfo, getDescription, getName, setDebugInfo, setDescription, setName
public static final String EXEC_ID
public MActionExec()
public MActionExec(IReadAccessor command)
protected void compileExecutable(ICompilationContext ctxt) throws MRuleValidationException
AbstractExecutable
AbstractExecutable.compile(ICompilationContext)
to perform compilation operations.compileExecutable
in class AbstractVariableCreator
MRuleValidationException
public IExecutionResult execute(IExecutionContext ctxt) throws MActionExecutionException
execute
in interface IAction
execute
in interface IExecutable
execute
in class AbstractExecutable
MActionExecutionException
protected IExecutionResult internalExecute(IExecutionContext ctxt) throws MActionExecutionException
internalExecute
in class AbstractExecutable
MActionExecutionException
IAction.execute(IExecutionContext)
public String getImplementationId()
IAddon
getImplementationId
in interface IAddon
public void toString(OuterWithLevel outer) throws IOException
Outable
OuterWithLevel
.toString
in interface Outable
IOException
public MActionExec clone()
IAddon
clone
in interface IAction
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 IReadAccessor getCommand()
public void setCommand(IReadAccessor command)