public class ProcessUtil extends Object
| Constructor and Description |
|---|
ProcessUtil() |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
processErrors(io.fabric8.maven.docker.util.Logger log,
InputStream inputStream,
String message) |
protected static void |
processOutput(io.fabric8.maven.docker.util.Logger log,
InputStream inputStream,
io.fabric8.utils.Function<String,Void> function,
String errrorMessage) |
protected static void |
readProcessOutput(io.fabric8.maven.docker.util.Logger log,
InputStream inputStream,
String prefix,
String message) |
static int |
runCommand(io.fabric8.maven.docker.util.Logger log,
String commands,
io.fabric8.utils.Function<String,Void> outputHandler,
String message) |
static int |
runCommand(io.fabric8.maven.docker.util.Logger log,
String commands,
String message) |
public static int runCommand(io.fabric8.maven.docker.util.Logger log,
String commands,
String message)
throws IOException
IOExceptionpublic static int runCommand(io.fabric8.maven.docker.util.Logger log,
String commands,
io.fabric8.utils.Function<String,Void> outputHandler,
String message)
throws IOException
IOExceptionprotected static void processErrors(io.fabric8.maven.docker.util.Logger log,
InputStream inputStream,
String message)
throws Exception
Exceptionprotected static void readProcessOutput(io.fabric8.maven.docker.util.Logger log,
InputStream inputStream,
String prefix,
String message)
throws Exception
Exceptionprotected static void processOutput(io.fabric8.maven.docker.util.Logger log,
InputStream inputStream,
io.fabric8.utils.Function<String,Void> function,
String errrorMessage)
throws IOException
IOExceptionCopyright © 2016. All rights reserved.