Interface OutputColumnBuilderContext
public interface OutputColumnBuilderContext
The context for the output column builder of the custom step.
- Since:
- 2.0.0
-
Method Summary
Modifier and TypeMethodDescriptioncreateNewColumn
(String columnName) Creates a new output column.getColumnFromChooserValues
(String columnChooserId) Convenience method to returns the columns selected by the user.getInputContext
(String inputId) Returns the configuration input context.<T> Optional<T>
getStepPropertyValue
(String stepPropertyId) Convenience method to get arg value when the user option type isDefaultOption
type.getStepSettingFieldValueAsString
(String stepSettingFieldId) Returns the step setting field value as a string based on the step setting field ID specified.<T extends UserOption>
TGets the current user defined option.
-
Method Details
-
getUserOption
Gets the current user defined option.- Type Parameters:
T
- The user option type.- Returns:
- The user defined option.
-
getStepPropertyValue
Convenience method to get arg value when the user option type isDefaultOption
type.- Type Parameters:
T
- The type of value the arg would return. e.gStringStepProperty
would returnString
value.- Parameters:
stepPropertyId
- the arg id- Returns:
- The arg value.
-
createNewColumn
Creates a new output column.- Parameters:
columnName
- Name of output column- Returns:
- Column object
-
getInputContext
Returns the configuration input context.- Parameters:
inputId
- ID of the input context- Returns:
- Configuration input context object
-
getColumnFromChooserValues
Convenience method to returns the columns selected by the user. It will returns empty list if the column chooser is invalid or the step property is not a column chooser.- Parameters:
columnChooserId
- the column chooser's step property ID- Returns:
- the list of selected
Column
-
getStepSettingFieldValueAsString
Returns the step setting field value as a string based on the step setting field ID specified.- Parameters:
stepSettingFieldId
- ID of the step setting field to be returned- Returns:
- String value of the step setting field
- Since:
- 2.1.0
-