Class EnvCommand
- java.lang.Object
-
- io.fabric8.maven.docker.access.util.ExternalCommand
-
- io.fabric8.maven.docker.access.util.EnvCommand
-
public abstract class EnvCommand extends ExternalCommand
Command for extracting the environment information emitted by e.g. 'docker-machine env' as a map.- Since:
- 14/09/16
-
-
Field Summary
-
Fields inherited from class io.fabric8.maven.docker.access.util.ExternalCommand
log
-
-
Constructor Summary
Constructors Constructor Description EnvCommand(Logger log, String prefix)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>getEnvironment()protected voidprocessLine(String line)-
Methods inherited from class io.fabric8.maven.docker.access.util.ExternalCommand
end, execute, execute, getArgs, getCommandAsString, getStatusCode, start, startCommand
-
-
-
-
Method Detail
-
processLine
protected void processLine(String line)
- Overrides:
processLinein classExternalCommand
-
getEnvironment
public Map<String,String> getEnvironment() throws IOException
- Throws:
IOException
-
-