public class ExecuteObjectAction extends ConditionOrAction implements Action, HasAlias
Constructor and Description |
---|
ExecuteObjectAction()
Creates a new
ExecuteObjectAction . |
Modifier and Type | Method and Description |
---|---|
UC4Alias |
getAlias()
Returns the alias or
null if none is set. |
int |
getDisplayMessageID() |
java.lang.String |
getId() |
UC4ObjectName |
getName() |
java.util.Map<java.lang.String,java.lang.String> |
getParameter()
Returns the parameter of this task.
|
int |
getParameterMessageID() |
int |
getSkeletonMessageID() |
boolean |
isAction() |
boolean |
isAfterCondition()
Returns
true if this action can be used in a Pre-Condition. |
boolean |
isBeforeCondition()
Returns
true if this action can be used in a Post-Condition. |
boolean |
isFinal()
Returns
true if this is a final action in
this condition. |
boolean |
isIF() |
boolean |
isWait()
Returns
true if waiting for the task to finish is enabled. |
void |
setAlias(UC4Alias alias)
Sets the alias of the task.
|
void |
setName(UC4ObjectName name)
Sets the name of the Automation Engine object.
|
void |
setParameter(java.util.Map<java.lang.String,java.lang.String> map)
Sets the parameter (Prompt values).
|
void |
setWait(boolean wait)
Wait for the task to finish?
|
copy, createActionFromId, createConditionFromId, equals, getParameter, getPromptName, getScriptName, hashCode, isActive, isOnce, isParameterAltView, setActive, setOnce, setParameter
public ExecuteObjectAction()
ExecuteObjectAction
.public void setName(UC4ObjectName name)
name
- Namepublic void setWait(boolean wait)
wait
- true if the condition should wait until the task has finished,
false if the task exection should only be triggeredpublic void setParameter(java.util.Map<java.lang.String,java.lang.String> map)
map
- Parameter in a Map, key is the variable namepublic java.util.Map<java.lang.String,java.lang.String> getParameter()
null
if not set.public UC4ObjectName getName()
public boolean isWait()
true
if waiting for the task to finish is enabled.public void setAlias(UC4Alias alias)
alias
- Aliaspublic UC4Alias getAlias()
null
if none is set.public boolean isFinal()
Action
true
if this is a final action in
this condition.public java.lang.String getId()
getId
in interface Action
getId
in class ConditionOrAction
public boolean isAction()
isAction
in class ConditionOrAction
com.uc4.api.objects.Action
or
false if the sub class is an instance of com.uc4.api.objects.Condition
public boolean isBeforeCondition()
Action
true
if this action can be used in a Post-Condition.isBeforeCondition
in interface Action
isBeforeCondition
in class ConditionOrAction
public boolean isAfterCondition()
Action
true
if this action can be used in a Pre-Condition.isAfterCondition
in interface Action
isAfterCondition
in class ConditionOrAction
public boolean isIF()
isIF
in class ConditionOrAction
public int getParameterMessageID()
getParameterMessageID
in class ConditionOrAction
public int getSkeletonMessageID()
getSkeletonMessageID
in class ConditionOrAction
public int getDisplayMessageID()
getDisplayMessageID
in class ConditionOrAction