@FunctionalInterface
public interface CommandFactory
Modifier and Type | Method and Description |
---|---|
Command |
createCommand(java.lang.String command)
Create a command with the given name.
|
Command createCommand(java.lang.String command)
command
- The command that will be runnull
Command
instance