Interface CommandExecution
- All Known Implementing Classes:
 CommandExecution.DefaultCommandExecution
public interface CommandExecution
Interface to evaluate a result from a command with an arguments.
- 
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classstatic classstatic classstatic classDefault implementation of aCommandExecution.static class - 
Method Summary
Modifier and TypeMethodDescriptionEvaluate a command with a given arguments.static CommandExecutionof(List<? extends org.springframework.messaging.handler.invocation.HandlerMethodArgumentResolver> resolvers) Gets an instance of a defaultCommandExecution.static CommandExecutionof(List<? extends org.springframework.messaging.handler.invocation.HandlerMethodArgumentResolver> resolvers, jakarta.validation.Validator validator, org.jline.terminal.Terminal terminal, org.springframework.core.convert.ConversionService conversionService) Gets an instance of a defaultCommandExecution.static CommandExecutionof(List<? extends org.springframework.messaging.handler.invocation.HandlerMethodArgumentResolver> resolvers, jakarta.validation.Validator validator, org.jline.terminal.Terminal terminal, org.springframework.core.convert.ConversionService conversionService, CommandCatalog commandCatalog) Gets an instance of a defaultCommandExecution. 
- 
Method Details
- 
evaluate
Evaluate a command with a given arguments.- Parameters:
 args- the command args- Returns:
 - evaluated execution
 
 - 
of
static CommandExecution of(List<? extends org.springframework.messaging.handler.invocation.HandlerMethodArgumentResolver> resolvers) Gets an instance of a defaultCommandExecution.- Parameters:
 resolvers- the handler method argument resolvers- Returns:
 - default command execution
 
 - 
of
static CommandExecution of(List<? extends org.springframework.messaging.handler.invocation.HandlerMethodArgumentResolver> resolvers, jakarta.validation.Validator validator, org.jline.terminal.Terminal terminal, org.springframework.core.convert.ConversionService conversionService) Gets an instance of a defaultCommandExecution.- Parameters:
 resolvers- the handler method argument resolversvalidator- the validatorterminal- the terminalconversionService- the conversion services- Returns:
 - default command execution
 
 - 
of
static CommandExecution of(List<? extends org.springframework.messaging.handler.invocation.HandlerMethodArgumentResolver> resolvers, jakarta.validation.Validator validator, org.jline.terminal.Terminal terminal, org.springframework.core.convert.ConversionService conversionService, CommandCatalog commandCatalog) Gets an instance of a defaultCommandExecution.- Parameters:
 resolvers- the handler method argument resolversvalidator- the validatorterminal- the terminalconversionService- the conversion services- Returns:
 - default command execution
 
 
 -