public abstract class ExternalCommand extends Object
| Constructor and Description |
|---|
ExternalCommand(Logger log) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
end() |
void |
execute() |
void |
execute(String processInput) |
protected abstract String[] |
getArgs() |
protected String |
getCommandAsString() |
protected int |
getStatusCode() |
protected void |
processLine(String line) |
protected void |
start() |
protected final Logger log
public ExternalCommand(Logger log)
public void execute()
throws IOException
IOExceptionpublic void execute(String processInput) throws IOException
IOExceptionprotected void start()
protected void end()
protected int getStatusCode()
protected String getCommandAsString()
protected abstract String[] getArgs()
protected void processLine(String line)
Copyright © 2018. All rights reserved.