Uses of Interface
org.springframework.shell.component.flow.StringInputSpec
Packages that use StringInputSpec
-
Uses of StringInputSpec in org.springframework.shell.component.flow
Classes in org.springframework.shell.component.flow that implement StringInputSpecModifier and TypeClassDescriptionclass
Base impl forStringInputSpec
.class
Default impl forBaseStringInput
.Methods in org.springframework.shell.component.flow that return StringInputSpecModifier and TypeMethodDescriptionBaseStringInput.defaultValue
(String defaultValue) StringInputSpec.defaultValue
(String defaultValue) Sets a default value.BaseStringInput.getThis()
BaseStringInput.maskCharacter
(Character maskCharacter) StringInputSpec.maskCharacter
(Character maskCharacter) Sets a mask character.Sets a name.BaseStringInput.next
(Function<StringInput.StringInputContext, String> next) StringInputSpec.next
(Function<StringInput.StringInputContext, String> next) Define a function which may return id of a next component to go.BaseStringInput.postHandler
(Consumer<StringInput.StringInputContext> handler) StringInputSpec.postHandler
(Consumer<StringInput.StringInputContext> handler) Adds a post-run context handler.BaseStringInput.preHandler
(Consumer<StringInput.StringInputContext> handler) StringInputSpec.preHandler
(Consumer<StringInput.StringInputContext> handler) Adds a pre-run context handler.BaseStringInput.renderer
(Function<StringInput.StringInputContext, List<org.jline.utils.AttributedString>> renderer) StringInputSpec.renderer
(Function<StringInput.StringInputContext, List<org.jline.utils.AttributedString>> renderer) Sets a renderer function.BaseStringInput.resultMode
(ResultMode resultMode) StringInputSpec.resultMode
(ResultMode resultMode) Sets a result mode.BaseStringInput.resultValue
(String resultValue) StringInputSpec.resultValue
(String resultValue) Sets a result value.BaseStringInput.storeResult
(boolean store) StringInputSpec.storeResult
(boolean store) Automatically stores result from aStringInput.StringInputContext
intoComponentContext
with key given to builder.Sets a default renderer template location.ComponentFlow.BaseBuilder.withStringInput
(String id) ComponentFlow.Builder.withStringInput
(String id) Gets a builder for string input.