Interface InputTextStepPropertyBuilder<T,V>
- All Superinterfaces:
StepPropertyBuilder<InputTextStepPropertyBuilder<T,V>, T, V>
- All Known Subinterfaces:
NumberStepPropertyBuilder,StringStepPropertyBuilder
public interface InputTextStepPropertyBuilder<T,V>
extends StepPropertyBuilder<InputTextStepPropertyBuilder<T,V>,T,V>
Builder for step property that takes a user input in a text field as an input.
Extended by NumberStepPropertyBuilder and StringStepPropertyBuilder.
- Since:
- 2.0.0
-
Method Summary
Modifier and TypeMethodDescriptionwithDefaultValue(Function<DefaultValueContext, V> defaultValueSupplier) Configures the default value of the input text field with context.withDefaultValue(V value) Configures the default value of the input text field.withIsRequired(boolean isRequired) Configures whether this step property must have a value assigned.withPlaceHolder(String placeHolder) Configures the placeholder of the input text field.Methods inherited from interface com.experian.datastudio.sdk.api.step.configuration.stepproperties.StepPropertyBuilder
build, withIsDisabledSupplier, withLabelSupplier, withOnValueChanged, withOnValueChanged, withShouldRebuildIndex, withValueSupplier
-
Method Details
-
withIsRequired
Configures whether this step property must have a value assigned.- Parameters:
isRequired- requires a value to be assigned- Returns:
- Input text step property builder
-
withPlaceHolder
Configures the placeholder of the input text field. A placeholder is a hint is displayed in the input field before the user enters a value.- Parameters:
placeHolder- hint to be displayed in input field- Returns:
- Input text step property builder
-
withDefaultValue
Configures the default value of the input text field.- Parameters:
value- default text field value- Returns:
- Input text step property builder
-
withDefaultValue
InputTextStepPropertyBuilder<T,V> withDefaultValue(Function<DefaultValueContext, V> 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
-