public class ProcessShellCommandFactory extends java.lang.Object implements CommandFactory
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
FACTORY_NAME |
static ProcessShellCommandFactory |
INSTANCE |
| Constructor and Description |
|---|
ProcessShellCommandFactory() |
| Modifier and Type | Method and Description |
|---|---|
Command |
createCommand(java.lang.String command)
Create a command with the given name.
|
java.lang.String |
toString() |
public static final java.lang.String FACTORY_NAME
public static final ProcessShellCommandFactory INSTANCE
public java.lang.String toString()
toString in class java.lang.Objectpublic Command createCommand(java.lang.String command)
CommandFactorycreateCommand in interface CommandFactorycommand - The command that will be runnull Command instance