Package com.uc4.api.objects
Class PublishValueAction
- java.lang.Object
-
- com.uc4.api.objects.ConditionOrAction
-
- com.uc4.api.objects.PublishValueAction
-
- All Implemented Interfaces:
Action
public class PublishValueAction extends ConditionOrAction implements Action
Publish a value.
-
-
Constructor Summary
Constructors Constructor Description PublishValueAction()Creates a new publish action.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetDisplayMessageID()java.lang.StringgetId()intgetParameterMessageID()java.lang.StringgetPublishName()Returns the name.intgetSkeletonMessageID()java.lang.StringgetValue()booleanisAction()booleanisAfterCondition()Returnstrueif this action can be used in a Pre-Condition.booleanisBeforeCondition()Returnstrueif this action can be used in a Post-Condition.booleanisFinal()Returnstrueif this is a final action in this condition.booleanisIF()voidsetPublishName(java.lang.String name)Set the name for the published value.voidsetValue(java.lang.String value)Sets the value which should be published.-
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
-
setValue
public void setValue(java.lang.String value)
Sets the value which should be published.- Parameters:
value- Value
-
setPublishName
public void setPublishName(java.lang.String name)
Set the name for the published value.- Parameters:
name- Name
-
getValue
public java.lang.String getValue()
- Returns:
- Value which should be published
-
getPublishName
public java.lang.String getPublishName()
Returns the name.- Returns:
- Name which should be used to publish the value
-
isFinal
public boolean isFinal()
Description copied from interface:ActionReturnstrueif this is a final action in this condition.
-
getId
public java.lang.String 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
-
-