Package | Description |
---|---|
org.springframework.shell.component | |
org.springframework.shell.component.flow |
Modifier and Type | Method and Description |
---|---|
static PathInput.PathInputContext |
PathInput.PathInputContext.empty()
Gets an empty
PathInput.PathInputContext . |
PathInput.PathInputContext |
PathInput.getThisContext(ComponentContext<?> context) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
PathInput.read(org.jline.keymap.BindingReader bindingReader,
org.jline.keymap.KeyMap<String> keyMap,
PathInput.PathInputContext context) |
Constructor and Description |
---|
PathInput(org.jline.terminal.Terminal terminal,
String name,
Function<PathInput.PathInputContext,List<org.jline.utils.AttributedString>> renderer) |
Modifier and Type | Method and Description |
---|---|
Function<PathInput.PathInputContext,String> |
BasePathInput.getNext() |
List<Consumer<PathInput.PathInputContext>> |
BasePathInput.getPostHandlers() |
List<Consumer<PathInput.PathInputContext>> |
BasePathInput.getPreHandlers() |
Function<PathInput.PathInputContext,List<org.jline.utils.AttributedString>> |
BasePathInput.getRenderer() |
Modifier and Type | Method and Description |
---|---|
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) |
Copyright © 2024. All rights reserved.