Modifier and Type | Interface and Description |
---|---|
static interface |
ConfirmationInput.ConfirmationInputContext |
static interface |
MultiItemSelector.MultiItemSelectorContext<T,I extends Nameable & Matchable & Itemable<T>>
Context
MultiItemSelector . |
static interface |
PathInput.PathInputContext |
static interface |
SingleItemSelector.SingleItemSelectorContext<T,I extends Nameable & Matchable & Itemable<T>>
Context
SingleItemSelector . |
static interface |
StringInput.StringInputContext |
Modifier and Type | Method and Description |
---|---|
StringInput.StringInputContext |
StringInput.getThisContext(ComponentContext<?> context) |
SingleItemSelector.SingleItemSelectorContext<T,I> |
SingleItemSelector.getThisContext(ComponentContext<?> context) |
PathInput.PathInputContext |
PathInput.getThisContext(ComponentContext<?> context) |
MultiItemSelector.MultiItemSelectorContext<T,I> |
MultiItemSelector.getThisContext(ComponentContext<?> context) |
ConfirmationInput.ConfirmationInputContext |
ConfirmationInput.getThisContext(ComponentContext<?> context) |
Modifier and Type | Class and Description |
---|---|
class |
BaseComponentContext<C extends ComponentContext<C>>
Base implementation of a
ComponentContext . |
interface |
ComponentContext<C extends ComponentContext<C>>
Contract for base component context having access to basic key/value pairs.
|
Modifier and Type | Class and Description |
---|---|
class |
BaseComponentContext<C extends ComponentContext<C>>
Base implementation of a
ComponentContext . |
Modifier and Type | Method and Description |
---|---|
static <C extends ComponentContext<C>> |
ComponentContext.empty()
Gets an empty context.
|
Modifier and Type | Method and Description |
---|---|
static <C extends ComponentContext<C>> |
ComponentContext.empty()
Gets an empty context.
|
ComponentContext<C> |
ComponentContext.put(Object key,
Object value)
Put an entry into a context.
|
ComponentContext<C> |
BaseComponentContext.put(Object key,
Object value) |
Modifier and Type | Method and Description |
---|---|
ComponentContext<?> |
ComponentFlow.ComponentFlowResult.getContext()
Gets a context.
|
ComponentContext<?> |
ComponentFlow.DefaultComponentFlowResult.getContext() |
Modifier and Type | Method and Description |
---|---|
Function<ComponentContext<?>,Optional<String>> |
ComponentFlow.OrderedInputOperation.getNext() |
Function<ComponentContext<?>,ComponentContext<?>> |
ComponentFlow.OrderedInputOperation.getOperation() |
Function<ComponentContext<?>,ComponentContext<?>> |
ComponentFlow.OrderedInputOperation.getOperation() |
Modifier and Type | Class and Description |
---|---|
class |
AbstractComponent<T extends ComponentContext<T>>
Base class for components.
|
Modifier and Type | Interface and Description |
---|---|
static interface |
AbstractSelectorComponent.SelectorComponentContext<T,I extends Nameable & Matchable & Itemable<T>,C extends AbstractSelectorComponent.SelectorComponentContext<T,I,C>>
Context interface on a selector component sharing content.
|
static interface |
AbstractTextComponent.TextComponentContext<T,C extends AbstractTextComponent.TextComponentContext<T,C>> |
Modifier and Type | Class and Description |
---|---|
protected static class |
AbstractSelectorComponent.BaseSelectorComponentContext<T,I extends Nameable & Matchable & Itemable<T>,C extends AbstractSelectorComponent.SelectorComponentContext<T,I,C>>
Base implementation of a
AbstractSelectorComponent.SelectorComponentContext . |
static class |
AbstractTextComponent.BaseTextComponentContext<T,C extends AbstractTextComponent.TextComponentContext<T,C>> |
Modifier and Type | Method and Description |
---|---|
abstract T |
AbstractComponent.getThisContext(ComponentContext<?> context)
Gets a real component context using common this trick.
|
protected void |
AbstractComponent.loop(ComponentContext<?> context)
Enter into read loop.
|
T |
AbstractComponent.run(ComponentContext<?> context)
Runs a component logic with a given context and returns updated context.
|
Copyright © 2024. All rights reserved.