Package com.uc4.api.objects
Class ExecuteObjectAction
java.lang.Object
com.uc4.api.objects.ConditionOrAction
com.uc4.api.objects.ExecuteObjectAction
Starts any Automation Engine object. Does not check how the object being started ends.
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAlias()Returns the alias ornullif none is set.intgetId()getName()Returns the parameter of this task.intintbooleanisAction()booleanReturnstrueif this action can be used in a Pre-Condition.booleanReturnstrueif this action can be used in a Post-Condition.booleanisFinal()Returnstrueif this is a final action in this condition.booleanisIF()booleanisWait()Returnstrueif waiting for the task to finish is enabled.voidSets the alias of the task.voidsetName(UC4ObjectName name) Sets the name of the Automation Engine object.voidsetParameter(Map<String, String> map) Sets the parameter (Prompt values).voidsetWait(boolean wait) Wait for the task to finish?Methods inherited from class com.uc4.api.objects.ConditionOrAction
copy, createActionFromId, createConditionFromId, equals, getParameter, getPromptName, getScriptName, hashCode, isActive, isOnce, isParameterAltView, setActive, setOnce, setParameter
-
Constructor Details
-
ExecuteObjectAction
public ExecuteObjectAction()Creates a newExecuteObjectAction.
-
-
Method Details
-
setName
Sets the name of the Automation Engine object.- Parameters:
name- Name
-
setWait
public void setWait(boolean wait) Wait for the task to finish?- Parameters:
wait- true if the condition should wait until the task has finished, false if the task exection should only be triggered
-
setParameter
Sets the parameter (Prompt values).- Parameters:
map- Parameter in a Map, key is the variable name
-
getParameter
Returns the parameter of this task.- Returns:
- Parameter or
nullif not set.
-
getName
- Returns:
- name of the Automation Engine object
-
isWait
public boolean isWait()Returnstrueif waiting for the task to finish is enabled.- Returns:
- true if the condition waits until the task has finished
-
setAlias
Sets the alias of the task.- Parameters:
alias- Alias
-
getAlias
Returns the alias ornullif none is set. -
isFinal
public boolean isFinal()Description copied from interface:ActionReturnstrueif this is a final action in this condition. -
getId
- Specified by:
getIdin interfaceAction- Specified by:
getIdin classConditionOrAction- Returns:
- ID of the condition or action
-
isAction
public boolean isAction()- Specified by:
isActionin classConditionOrAction- Returns:
- true if the sub class is an instance of
com.uc4.api.objects.Actionor false if the sub class is an instance ofcom.uc4.api.objects.Condition
-
isBeforeCondition
public boolean isBeforeCondition()Description copied from interface:ActionReturnstrueif this action can be used in a Post-Condition.- Specified by:
isBeforeConditionin interfaceAction- Specified by:
isBeforeConditionin classConditionOrAction- Returns:
- true if the action/condition is allowed on the "Pre-Condition" tab
-
isAfterCondition
public boolean isAfterCondition()Description copied from interface:ActionReturnstrueif this action can be used in a Pre-Condition.- Specified by:
isAfterConditionin interfaceAction- Specified by:
isAfterConditionin classConditionOrAction- Returns:
- true if the action/condition is allowed on the "Post-Condition" tab
-
isIF
public boolean isIF()- Specified by:
isIFin classConditionOrAction- Returns:
- true if the action/condition is allowed in the condition of an IF workflow
-
getParameterMessageID
public int getParameterMessageID()- Specified by:
getParameterMessageIDin classConditionOrAction- Returns:
- Message number of the parameter message
-
getSkeletonMessageID
public int getSkeletonMessageID()- Specified by:
getSkeletonMessageIDin classConditionOrAction- Returns:
- Message number of this condition or action
-
getDisplayMessageID
public int getDisplayMessageID()- Specified by:
getDisplayMessageIDin classConditionOrAction- Returns:
- Message number for displaying this condition
-