Interface StepPropertyOnValueChangedContext


public interface StepPropertyOnValueChangedContext
Defines the callback to update other step properties.
Since:
2.2.0
  • Method Details

    • clearStepPropertyValue

      void clearStepPropertyValue(String stepPropertyId)
      Removes the value of a step property.
      Parameters:
      stepPropertyId - the ID of the step property
    • setStepPropertyValue

      void setStepPropertyValue(String stepPropertyId, String value)
      Sets the string value of a step property.
      Parameters:
      stepPropertyId - the ID of the step property
      value - string value
    • setStepPropertyValue

      void setStepPropertyValue(String stepPropertyId, Number value)
      Sets the number value of a step property.
      Parameters:
      stepPropertyId - the ID of the step property
      value - number value
    • setStepPropertyValue

      void setStepPropertyValue(String stepPropertyId, List<String> value)
      Sets the custom chooser value of a step property.
      Parameters:
      stepPropertyId - the ID of the step property
      value - custom chooser value
    • setStepPropertyValue

      void setStepPropertyValue(String stepPropertyId, boolean value)
      Sets the boolean value of a step property.
      Parameters:
      stepPropertyId - the ID of the step property
      value - boolean value
    • getStepPropertyValue

      <T> Optional<T> getStepPropertyValue(String stepPropertyId)
      Gets the value of a step property.
      Type Parameters:
      T - The type of value the step property would return. e.g StringStepProperty would return String value.
      Parameters:
      stepPropertyId - the step property ID
      Returns:
      The step property value.
    • getChangedByStepPropertyId

      Optional<String> getChangedByStepPropertyId()
      Gets the step property ID that change this value.
      Returns:
      the parent step property id.