Index

C D E G I O P R S W 
All Classes and Interfaces|All Packages

C

command(String...) - Method in class org.itsallcode.process.SimpleProcessBuilder
Set program and arguments.
command(List<String>) - Method in class org.itsallcode.process.SimpleProcessBuilder
Set program and arguments.
create() - Static method in class org.itsallcode.process.SimpleProcessBuilder
Create a new instance.
currentProcessWorkingDir() - Method in class org.itsallcode.process.SimpleProcessBuilder
Set working directory to the current process's working directory.

D

destroy() - Method in class org.itsallcode.process.SimpleProcess
Kill the process.
destroyForcibly() - Method in class org.itsallcode.process.SimpleProcess
Kill the process forcibly.

E

exitValue() - Method in class org.itsallcode.process.SimpleProcess
Get the exit value of the process.

G

getStdErr() - Method in class org.itsallcode.process.SimpleProcess
Get the standard error of the process.
getStdOut() - Method in class org.itsallcode.process.SimpleProcess
Get the standard output of the process.

I

isAlive() - Method in class org.itsallcode.process.SimpleProcess
Check wether the process is alive.

O

org.itsallcode.process - module org.itsallcode.process
Simplified usage of Java's Process API.
org.itsallcode.process - package org.itsallcode.process
 

P

pid() - Method in class org.itsallcode.process.SimpleProcess
Get the process ID.

R

redirectErrorStream(boolean) - Method in class org.itsallcode.process.SimpleProcessBuilder
Redirect the error stream to the output stream if this is true.

S

setStreamCloseTimeout(Duration) - Method in class org.itsallcode.process.SimpleProcessBuilder
Set the timeout for closing the asynchronous stream readers.
SimpleProcess<T> - Class in org.itsallcode.process
Provides control over native processes.
SimpleProcessBuilder - Class in org.itsallcode.process
Builder for SimpleProcess.
start() - Method in class org.itsallcode.process.SimpleProcessBuilder
Start the new process.
streamConsumerExecutor(Executor) - Method in class org.itsallcode.process.SimpleProcessBuilder
Set a custom executor for asynchronous stream readers.
streamLogLevel(Level) - Method in class org.itsallcode.process.SimpleProcessBuilder
Log level for the process's stdout and stderr.

W

waitForSuccessfulTermination() - Method in class org.itsallcode.process.SimpleProcess
Wait until the process terminates successfully with exit code 0.
waitForTermination() - Method in class org.itsallcode.process.SimpleProcess
Wait until the process has terminated.
waitForTermination(int) - Method in class org.itsallcode.process.SimpleProcess
Wait until the process terminates successfully with the given exit code.
waitForTermination(Duration) - Method in class org.itsallcode.process.SimpleProcess
Wait until the process terminates with the given timeout.
workingDir(Path) - Method in class org.itsallcode.process.SimpleProcessBuilder
Set working directory.
C D E G I O P R S W 
All Classes and Interfaces|All Packages