Class ClearVariableAction

  • All Implemented Interfaces:
    Action

    public class ClearVariableAction
    extends ConditionOrAction
    implements Action
    Deletes the content of a static variable.
    • Constructor Detail

      • ClearVariableAction

        public ClearVariableAction()
        Creates a new ClearVariableAction.
    • Method Detail

      • setVariableName

        public void setVariableName​(UC4ObjectName variableName)
        Sets the name of the Variable object.
        Parameters:
        variableName - object name
      • setKey

        public void setKey​(java.lang.String key)
        Sets the key of the variable.
        Parameters:
        key - Key
      • getVariableName

        public UC4ObjectName getVariableName()
        Returns the name of the Variable object.
        Returns:
        object name
      • getKey

        public java.lang.String getKey()
        Returns:
        Key
      • isFinal

        public boolean isFinal()
        Description copied from interface: Action
        Returns true if this is a final action in this condition.
        Specified by:
        isFinal in interface Action
        Returns:
        true if this action ends the evaluation of a condition
      • getId

        public java.lang.String getId()
        Specified by:
        getId in interface Action
        Specified by:
        getId in class ConditionOrAction
        Returns:
        ID of the condition or action
      • isAction

        public boolean isAction()
        Specified by:
        isAction in class ConditionOrAction
        Returns:
        true if the sub class is an instance of com.uc4.api.objects.Action or false if the sub class is an instance of com.uc4.api.objects.Condition
      • isBeforeCondition

        public boolean isBeforeCondition()
        Description copied from interface: Action
        Returns true if this action can be used in a Post-Condition.
        Specified by:
        isBeforeCondition in interface Action
        Specified by:
        isBeforeCondition in class ConditionOrAction
        Returns:
        true if the action/condition is allowed on the "Pre-Condition" tab
      • isAfterCondition

        public boolean isAfterCondition()
        Description copied from interface: Action
        Returns true if this action can be used in a Pre-Condition.
        Specified by:
        isAfterCondition in interface Action
        Specified by:
        isAfterCondition in class ConditionOrAction
        Returns:
        true if the action/condition is allowed on the "Post-Condition" tab
      • isIF

        public boolean isIF()
        Specified by:
        isIF in class ConditionOrAction
        Returns:
        true if the action/condition is allowed in the condition of an IF workflow