Class ExternalCommand
- java.lang.Object
-
- io.fabric8.maven.docker.access.util.ExternalCommand
-
- Direct Known Subclasses:
EnvCommand
public abstract class ExternalCommand extends Object
- Since:
- 14/09/16
- Author:
- roland
-
-
Constructor Summary
Constructors Constructor Description ExternalCommand(Logger log)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voidend()voidexecute()voidexecute(String processInput)protected abstract String[]getArgs()protected StringgetCommandAsString()protected intgetStatusCode()protected voidprocessLine(String line)protected voidstart()
-
-
-
Field Detail
-
log
protected final Logger log
-
-
Constructor Detail
-
ExternalCommand
public ExternalCommand(Logger log)
-
-
Method Detail
-
execute
public void execute() throws IOException- Throws:
IOException
-
execute
public void execute(String processInput) throws IOException
- Throws:
IOException
-
start
protected void start()
-
end
protected void end()
-
getStatusCode
protected int getStatusCode()
-
getCommandAsString
protected String getCommandAsString()
-
getArgs
protected abstract String[] getArgs()
-
processLine
protected void processLine(String line)
-
-