public class ProgramLauncher extends Object
| Constructor and Description |
|---|
ProgramLauncher() |
| Modifier and Type | Method and Description |
|---|---|
ProgramLauncher |
argument(String argument) |
ProgramLauncher |
command(String command) |
ProgramLauncher |
errorStreamConsumer(net.anwiba.commons.lang.functional.IConsumer<InputStream,RuntimeException> errorStreamConsumer) |
ProgramLauncher |
inputStreamConsumer(net.anwiba.commons.lang.functional.IConsumer<InputStream,RuntimeException> inputStreamConsumer) |
void |
launch() |
ProgramLauncher |
streamToLogger() |
ProgramLauncher |
waitFor() |
ProgramLauncher |
waitNot() |
public ProgramLauncher waitNot()
public ProgramLauncher waitFor()
public ProgramLauncher streamToLogger()
public ProgramLauncher command(String command)
public ProgramLauncher argument(String argument)
public ProgramLauncher errorStreamConsumer(net.anwiba.commons.lang.functional.IConsumer<InputStream,RuntimeException> errorStreamConsumer)
public ProgramLauncher inputStreamConsumer(net.anwiba.commons.lang.functional.IConsumer<InputStream,RuntimeException> inputStreamConsumer)
public void launch()
Copyright © 2007–2017 Andreas W. Bartels. All rights reserved.