Package | Description |
---|---|
org.springframework.shell.command | |
org.springframework.shell.context |
Modifier and Type | Method and Description |
---|---|
InteractionMode |
CommandRegistration.getInteractionMode()
Gets an
InteractionMode . |
InteractionMode |
CommandRegistration.DefaultCommandRegistration.getInteractionMode() |
Modifier and Type | Method and Description |
---|---|
CommandRegistration.Builder |
CommandRegistration.Builder.interactionMode(InteractionMode mode)
Define
InteractionMode for a command. |
CommandRegistration.Builder |
CommandRegistration.BaseBuilder.interactionMode(InteractionMode mode) |
Constructor and Description |
---|
DefaultCommandRegistration(String[] commands,
InteractionMode interactionMode,
String group,
String description,
Supplier<Availability> availability,
List<CommandRegistration.DefaultOptionSpec> optionSpecs,
CommandRegistration.DefaultTargetSpec targetSpec,
List<CommandRegistration.DefaultAliasSpec> aliasSpecs,
CommandRegistration.DefaultExitCodeSpec exitCodeSpec) |
Modifier and Type | Method and Description |
---|---|
InteractionMode |
ShellContext.getInteractionMode()
Gets an interaction mode.
|
InteractionMode |
DefaultShellContext.getInteractionMode() |
static InteractionMode |
InteractionMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InteractionMode[] |
InteractionMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
ShellContext.setInteractionMode(InteractionMode interactionMode)
Sets an interaction mode.
|
void |
DefaultShellContext.setInteractionMode(InteractionMode interactionMode) |
Copyright © 2024. All rights reserved.