Package com.uc4.api.objects
Class ModifyStateAction
java.lang.Object
com.uc4.api.objects.ConditionOrAction
com.uc4.api.objects.ModifyStateAction
- All Implemented Interfaces:
Action
Sets return code without checking of further conditions.
Additionally text can be entered.
It will affect only ProcessFlow internal dependencies
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetId()intintintgetText()booleanisAction()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()voidsetRetCode(int retCode) Sets the return code.voidSets the text.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
-
ModifyStateAction
public ModifyStateAction()Creates a newModifyStateAction.
-
-
Method Details
-
setRetCode
public void setRetCode(int retCode) Sets the return code.- Parameters:
retCode- Return code
-
setText
Sets the text.- Parameters:
text- text
-
getRetCode
public int getRetCode()- Returns:
- Return code
-
getText
- Returns:
- Text
-
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
-