Interface CustomChooserStepPropertyBuilder
- All Superinterfaces:
StepPropertyBuilder<CustomChooserStepPropertyBuilder,CustomChooserStepProperty, List<String>>
public interface CustomChooserStepPropertyBuilder
extends StepPropertyBuilder<CustomChooserStepPropertyBuilder,CustomChooserStepProperty,List<String>>
Builder for step property that provides a custom chooser for user to select an input.
- Since:
- 2.0.0
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface -
Method Summary
Modifier and TypeMethodDescriptionwithAllowSearch(boolean isEnabled) Configures the ability for a user to search for a specified value in the custom chooser.withAllowSelectAll(boolean isEnabled) Configures the ability for a user to select all values from the custom chooser.withDefaultValue(Function<DefaultValueContext, List<String>> defaultValueSupplier) Configures the default value of the input text field with context.withIsRequired(boolean isRequired) Configures whether this step property must have a value assigned.withMultipleSelect(boolean isEnabled) Configures the ability for a user to select multiple values from the custom chooser.Methods inherited from interface com.experian.datastudio.sdk.api.step.configuration.stepproperties.StepPropertyBuilder
build, withIsDisabledSupplier, withLabelSupplier, withOnValueChanged, withOnValueChanged, withShouldRebuildIndex, withValueSupplier
-
Method Details
-
withMultipleSelect
Configures the ability for a user to select multiple values from the custom chooser.- Parameters:
isEnabled- enables multiple value selection- Returns:
- Custom chooser step property builder
-
withAllowSelectAll
Configures the ability for a user to select all values from the custom chooser.- Parameters:
isEnabled- enables selection of all values- Returns:
- Custom chooser step property builder
-
withAllowSearch
Configures the ability for a user to search for a specified value in the custom chooser.- Parameters:
isEnabled- enables search for specified value- Returns:
- Custom chooser step property builder
-
withIsRequired
Configures whether this step property must have a value assigned.- Parameters:
isRequired- requires a value to be assigned- Returns:
- Custom chooser step property builder
-
withDefaultValue
CustomChooserStepPropertyBuilder withDefaultValue(Function<DefaultValueContext, List<String>> defaultValueSupplier) Configures the default value of the input text field with context.- Parameters:
defaultValueSupplier- supplier for the default text field value- Returns:
- Input text step property builder
- Since:
- 2.4.0
-