Package org.springframework.boot.cli
Class DefaultCommandFactory
- java.lang.Object
- org.springframework.boot.cli.DefaultCommandFactory
- All Implemented Interfaces:
CommandFactory
public class DefaultCommandFactory extends Object implements CommandFactory
Default implementation ofCommandFactory
.
Constructor Summary
Constructors Constructor Description DefaultCommandFactory()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<Command>
getCommands()
Returns the CLICommand
s.
Constructor Detail
DefaultCommandFactory
public DefaultCommandFactory()
Method Detail
getCommands
public Collection<Command> getCommands()
Description copied from interface:CommandFactory
Returns the CLICommand
s.- Specified by:
getCommands
in interfaceCommandFactory
- Returns:
- The commands