Package org.springframework.shell.result
Interface CommandNotFoundMessageProvider
- All Superinterfaces:
Function<CommandNotFoundMessageProvider.ProviderContext,
String>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public interface CommandNotFoundMessageProvider
extends Function<CommandNotFoundMessageProvider.ProviderContext,String>
Provider for a message used within
CommandNotFoundResultHandler
.-
Nested Class Summary
-
Method Summary
-
Method Details
-
contextOf
static CommandNotFoundMessageProvider.ProviderContext contextOf(Throwable error, List<String> commands, Map<String, CommandRegistration> registrations, String text)
-