public interface CommandExecution
Modifier and Type | Interface and Description |
---|---|
static class |
CommandExecution.CommandExecutionException |
static class |
CommandExecution.CommandExecutionHandlerMethodArgumentResolvers |
static class |
CommandExecution.CommandParserExceptionsException |
static class |
CommandExecution.DefaultCommandExecution
Default implementation of a
CommandExecution . |
static class |
CommandExecution.ParamNameHandlerMethodArgumentResolver |
Modifier and Type | Method and Description |
---|---|
Object |
evaluate(CommandRegistration registration,
String[] args)
Evaluate a command with a given arguments.
|
static CommandExecution |
of(List<? extends org.springframework.messaging.handler.invocation.HandlerMethodArgumentResolver> resolvers)
Gets an instance of a default
CommandExecution . |
static CommandExecution |
of(List<? extends org.springframework.messaging.handler.invocation.HandlerMethodArgumentResolver> resolvers,
javax.validation.Validator validator,
org.jline.terminal.Terminal terminal,
org.springframework.core.convert.ConversionService conversionService)
Gets an instance of a default
CommandExecution . |
Object evaluate(CommandRegistration registration, String[] args)
registration
- the command registrationargs
- the command argsstatic CommandExecution of(List<? extends org.springframework.messaging.handler.invocation.HandlerMethodArgumentResolver> resolvers)
CommandExecution
.resolvers
- the handler method argument resolversstatic CommandExecution of(List<? extends org.springframework.messaging.handler.invocation.HandlerMethodArgumentResolver> resolvers, javax.validation.Validator validator, org.jline.terminal.Terminal terminal, org.springframework.core.convert.ConversionService conversionService)
CommandExecution
.resolvers
- the handler method argument resolversvalidator
- the validatorterminal
- the terminalconversionService
- the conversion servicesCopyright © 2024. All rights reserved.