public abstract class ExternalCommand extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
ExternalCommand(KitLogger 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 KitLogger log
protected ExternalCommand(KitLogger 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 © 2022. All rights reserved.