Interface CommandFactory
- All Known Implementing Classes:
DefaultCommandFactory
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Factory used to create CLI
Command
s. Intended for use with a Java
ServiceLoader
.- Since:
- 1.0.0
- Author:
- Dave Syer
-
Method Summary
-
Method Details
-
getCommands
Collection<Command> getCommands()Returns the CLICommand
s.- Returns:
- the commands
-