Class AppendVariableActivity


public final class AppendVariableActivity extends ControlActivity
Append value for a Variable of type Array.
  • Constructor Details

    • AppendVariableActivity

      public AppendVariableActivity()
      Creates an instance of AppendVariableActivity class.
  • Method Details

    • withName

      public AppendVariableActivity withName(String name)
      Set the name property: Activity name.
      Overrides:
      withName in class ControlActivity
      Parameters:
      name - the name value to set.
      Returns:
      the Activity object itself.
    • withDescription

      public AppendVariableActivity withDescription(String description)
      Set the description property: Activity description.
      Overrides:
      withDescription in class ControlActivity
      Parameters:
      description - the description value to set.
      Returns:
      the Activity object itself.
    • withDependsOn

      public AppendVariableActivity withDependsOn(List<ActivityDependency> dependsOn)
      Set the dependsOn property: Activity depends on condition.
      Overrides:
      withDependsOn in class ControlActivity
      Parameters:
      dependsOn - the dependsOn value to set.
      Returns:
      the Activity object itself.
    • withUserProperties

      public AppendVariableActivity withUserProperties(List<UserProperty> userProperties)
      Set the userProperties property: Activity user properties.
      Overrides:
      withUserProperties in class ControlActivity
      Parameters:
      userProperties - the userProperties value to set.
      Returns:
      the Activity object itself.
    • variableName

      public String variableName()
      Get the variableName property: Name of the variable whose value needs to be appended to.
      Returns:
      the variableName value.
    • withVariableName

      public AppendVariableActivity withVariableName(String variableName)
      Set the variableName property: Name of the variable whose value needs to be appended to.
      Parameters:
      variableName - the variableName value to set.
      Returns:
      the AppendVariableActivity object itself.
    • value

      public Object value()
      Get the value property: Value to be appended. Could be a static value or Expression.
      Returns:
      the value value.
    • withValue

      public AppendVariableActivity withValue(Object value)
      Set the value property: Value to be appended. Could be a static value or Expression.
      Parameters:
      value - the value value to set.
      Returns:
      the AppendVariableActivity object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class ControlActivity
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.