public class ProcessShellCommandFactory extends Object implements CommandFactory
Modifier and Type | Field and Description |
---|---|
static String |
FACTORY_NAME |
static ProcessShellCommandFactory |
INSTANCE |
Constructor and Description |
---|
ProcessShellCommandFactory() |
Modifier and Type | Method and Description |
---|---|
Command |
createCommand(String command)
Create a command with the given name.
|
String |
toString() |
public static final String FACTORY_NAME
public static final ProcessShellCommandFactory INSTANCE
public Command createCommand(String command)
CommandFactory
createCommand
in interface CommandFactory
command
- The command that will be runnull
Command
instanceCopyright © 2008–2022 The Apache Software Foundation. All rights reserved.