Interface CommandResolver
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Interface to resolve currently existing commands. It is useful to have fully
dynamic set of commands which may exists only if some conditions in a running
shell are met. For example if shell is targeting arbitrary server environment
some commands may or may not exist depending on a runtime state.
-
Method Summary
-
Method Details
-
resolve
List<CommandRegistration> resolve()Resolve command registrations.- Returns:
- command registrations
-