Class CommandNotFoundResultHandler

java.lang.Object
org.springframework.shell.result.TerminalAwareResultHandler<CommandNotFound>
org.springframework.shell.result.CommandNotFoundResultHandler
All Implemented Interfaces:
ResultHandler<CommandNotFound>

public final class CommandNotFoundResultHandler extends TerminalAwareResultHandler<CommandNotFound>
ResultHandler for CommandNotFound using CommandNotFoundMessageProvider to provide an error message. Default internal provider simply provides message from a CommandNotFound with a red color. Provider can be defined by providing a custom CommandNotFoundMessageProvider bean.