Package | Description |
---|---|
org.springframework.shell.component.flow |
Modifier and Type | Class and Description |
---|---|
class |
BasePathInput
Base impl for
PathInputSpec . |
class |
DefaultPathInputSpec
Default impl for
BasePathInput . |
Modifier and Type | Method and Description |
---|---|
PathInputSpec |
PathInputSpec.defaultValue(String defaultValue)
Sets a default value.
|
PathInputSpec |
BasePathInput.defaultValue(String defaultValue) |
PathInputSpec |
BasePathInput.getThis() |
PathInputSpec |
PathInputSpec.name(String name)
Sets a name.
|
PathInputSpec |
BasePathInput.name(String name) |
PathInputSpec |
PathInputSpec.next(Function<PathInput.PathInputContext,String> next)
Define a function which may return id of a next component to go.
|
PathInputSpec |
BasePathInput.next(Function<PathInput.PathInputContext,String> next) |
PathInputSpec |
PathInputSpec.postHandler(Consumer<PathInput.PathInputContext> handler)
Adds a post-run context handler.
|
PathInputSpec |
BasePathInput.postHandler(Consumer<PathInput.PathInputContext> handler) |
PathInputSpec |
PathInputSpec.preHandler(Consumer<PathInput.PathInputContext> handler)
Adds a pre-run context handler.
|
PathInputSpec |
BasePathInput.preHandler(Consumer<PathInput.PathInputContext> handler) |
PathInputSpec |
PathInputSpec.renderer(Function<PathInput.PathInputContext,List<org.jline.utils.AttributedString>> renderer)
Sets a renderer function.
|
PathInputSpec |
BasePathInput.renderer(Function<PathInput.PathInputContext,List<org.jline.utils.AttributedString>> renderer) |
PathInputSpec |
PathInputSpec.resultMode(ResultMode resultMode)
Sets a result mode.
|
PathInputSpec |
BasePathInput.resultMode(ResultMode resultMode) |
PathInputSpec |
PathInputSpec.resultValue(String resultValue)
Sets a result value.
|
PathInputSpec |
BasePathInput.resultValue(String resultValue) |
PathInputSpec |
PathInputSpec.storeResult(boolean store)
Automatically stores result from a
StringInput.StringInputContext into
ComponentContext with key given to builder. |
PathInputSpec |
BasePathInput.storeResult(boolean store) |
PathInputSpec |
PathInputSpec.template(String location)
Sets a default renderer template location.
|
PathInputSpec |
BasePathInput.template(String location) |
PathInputSpec |
ComponentFlow.Builder.withPathInput(String id)
Gets a builder for path input.
|
PathInputSpec |
ComponentFlow.BaseBuilder.withPathInput(String id) |
Copyright © 2024. All rights reserved.