Interface StepPropertyOnValueChangedContext
public interface StepPropertyOnValueChangedContext
Defines the callback to update other step properties.
- Since:
- 2.2.0
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clearStepPropertyValue
(String stepPropertyId) Removes the value of a step property.Gets the step property ID that change this value.<T> Optional<T>
getStepPropertyValue
(String stepPropertyId) Gets the value of a step property.void
setStepPropertyValue
(String stepPropertyId, boolean value) Sets the boolean value of a step property.void
setStepPropertyValue
(String stepPropertyId, Number value) Sets the number value of a step property.void
setStepPropertyValue
(String stepPropertyId, String value) Sets the string value of a step property.void
setStepPropertyValue
(String stepPropertyId, List<String> value) Sets the custom chooser value of a step property.
-
Method Details
-
clearStepPropertyValue
Removes the value of a step property.- Parameters:
stepPropertyId
- the ID of the step property
-
setStepPropertyValue
Sets the string value of a step property.- Parameters:
stepPropertyId
- the ID of the step propertyvalue
- string value
-
setStepPropertyValue
Sets the number value of a step property.- Parameters:
stepPropertyId
- the ID of the step propertyvalue
- number value
-
setStepPropertyValue
Sets the custom chooser value of a step property.- Parameters:
stepPropertyId
- the ID of the step propertyvalue
- custom chooser value
-
setStepPropertyValue
Sets the boolean value of a step property.- Parameters:
stepPropertyId
- the ID of the step propertyvalue
- boolean value
-
getStepPropertyValue
Gets the value of a step property.- Type Parameters:
T
- The type of value the step property would return. e.gStringStepProperty
would returnString
value.- Parameters:
stepPropertyId
- the step property ID- Returns:
- The step property value.
-
getChangedByStepPropertyId
Gets the step property ID that change this value.- Returns:
- the parent step property id.
-