Package com.uc4.api.objects
Class SetValueAction
- java.lang.Object
-
- com.uc4.api.objects.ConditionOrAction
-
- com.uc4.api.objects.SetValueAction
-
- All Implemented Interfaces:
Action
public class SetValueAction extends ConditionOrAction implements Action
Sets or creates an object value which will be available for restarts.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SetValueAction.Scope
Scope.
-
Constructor Summary
Constructors Constructor Description SetValueAction()
Creates a newSetValueAction
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getDisplayMessageID()
java.lang.String
getId()
java.lang.String
getName()
int
getParameterMessageID()
SetValueAction.Scope
getScope()
int
getSkeletonMessageID()
java.lang.String
getValue()
boolean
isAction()
boolean
isAfterCondition()
Returnstrue
if this action can be used in a Pre-Condition.boolean
isBeforeCondition()
Returnstrue
if this action can be used in a Post-Condition.boolean
isFinal()
Returnstrue
if this is a final action in this condition.boolean
isIF()
void
setName(java.lang.String name)
void
setScope(SetValueAction.Scope scope)
void
setValue(java.lang.String value)
-
Methods inherited from class com.uc4.api.objects.ConditionOrAction
copy, createActionFromId, createConditionFromId, equals, getParameter, getPromptName, getScriptName, hashCode, isActive, isOnce, isParameterAltView, setActive, setOnce, setParameter
-
-
-
-
Method Detail
-
setName
public void setName(java.lang.String name)
- Parameters:
name
- Name of the value entry
-
setValue
public void setValue(java.lang.String value)
- Parameters:
value
- New value
-
setScope
public void setScope(SetValueAction.Scope scope)
- Parameters:
scope
- Scope (TASK or PROCESS_FLOW)
-
getName
public java.lang.String getName()
- Returns:
- Name of the value entry
-
getValue
public java.lang.String getValue()
- Returns:
- New value
-
getScope
public SetValueAction.Scope getScope()
- Returns:
- Scope (TASK or PROCESS_FLOW)
-
isFinal
public boolean isFinal()
Description copied from interface:Action
Returnstrue
if this is a final action in this condition.
-
getId
public java.lang.String getId()
- Specified by:
getId
in interfaceAction
- Specified by:
getId
in classConditionOrAction
- Returns:
- ID of the condition or action
-
isBeforeCondition
public boolean isBeforeCondition()
Description copied from interface:Action
Returnstrue
if this action can be used in a Post-Condition.- Specified by:
isBeforeCondition
in interfaceAction
- Specified by:
isBeforeCondition
in classConditionOrAction
- Returns:
- true if the action/condition is allowed on the "Pre-Condition" tab
-
isAfterCondition
public boolean isAfterCondition()
Description copied from interface:Action
Returnstrue
if this action can be used in a Pre-Condition.- Specified by:
isAfterCondition
in interfaceAction
- Specified by:
isAfterCondition
in classConditionOrAction
- Returns:
- true if the action/condition is allowed on the "Post-Condition" tab
-
isAction
public boolean isAction()
- Specified by:
isAction
in classConditionOrAction
- Returns:
- true if the sub class is an instance of
com.uc4.api.objects.Action
or false if the sub class is an instance ofcom.uc4.api.objects.Condition
-
isIF
public boolean isIF()
- Specified by:
isIF
in classConditionOrAction
- Returns:
- true if the action/condition is allowed in the condition of an IF workflow
-
getParameterMessageID
public int getParameterMessageID()
- Specified by:
getParameterMessageID
in classConditionOrAction
- Returns:
- Message number of the parameter message
-
getSkeletonMessageID
public int getSkeletonMessageID()
- Specified by:
getSkeletonMessageID
in classConditionOrAction
- Returns:
- Message number of this condition or action
-
getDisplayMessageID
public int getDisplayMessageID()
- Specified by:
getDisplayMessageID
in classConditionOrAction
- Returns:
- Message number for displaying this condition
-
-