| Package | Description |
|---|---|
| org.springframework.shell.command |
| Modifier and Type | Class and Description |
|---|---|
static class |
CommandRegistration.DefaultExitCodeSpec |
| Modifier and Type | Method and Description |
|---|---|
CommandRegistration.ExitCodeSpec |
CommandRegistration.ExitCodeSpec.map(Class<? extends Throwable> e,
int code)
Define mapping from exception to code.
|
CommandRegistration.ExitCodeSpec |
CommandRegistration.DefaultExitCodeSpec.map(Class<? extends Throwable> e,
int code) |
CommandRegistration.ExitCodeSpec |
CommandRegistration.ExitCodeSpec.map(Function<Throwable,Integer> function) |
CommandRegistration.ExitCodeSpec |
CommandRegistration.DefaultExitCodeSpec.map(Function<Throwable,Integer> function) |
CommandRegistration.ExitCodeSpec |
CommandRegistration.Builder.withExitCode()
Define an exit code what this command should execute
|
CommandRegistration.ExitCodeSpec |
CommandRegistration.BaseBuilder.withExitCode() |
Copyright © 2023. All rights reserved.