public interface CommandExitCode
| Modifier and Type | Interface and Description |
|---|---|
static class |
CommandExitCode.DefaultCommandExitCode |
| Modifier and Type | Method and Description |
|---|---|
List<Function<Throwable,Integer>> |
getMappingFunctions()
Gets a function mappings from exceptions to exit codes.
|
static CommandExitCode |
of()
Gets an instance of a default
CommandExitCode. |
static CommandExitCode |
of(List<Function<Throwable,Integer>> functions)
Gets an instance of a default
CommandExitCode. |
List<Function<Throwable,Integer>> getMappingFunctions()
static CommandExitCode of()
CommandExitCode.static CommandExitCode of(List<Function<Throwable,Integer>> functions)
CommandExitCode.functions - the function mappingsCopyright © 2023. All rights reserved.