- setMessageLogger(MessageLogger) - Method in class org.zeroturnaround.exec.ProcessExecutor
-
Changes how most common messages about starting and waiting for processes are actually logged.
- setProcessErrorStream(InputStream) - Method in interface org.zeroturnaround.exec.stream.ExecuteStreamHandler
-
Install a handler for the error stream of the subprocess.
- setProcessErrorStream(InputStream) - Method in class org.zeroturnaround.exec.stream.PumpStreamHandler
-
Set the InputStream from which to read the standard error
of the process.
- setProcessInputStream(OutputStream) - Method in interface org.zeroturnaround.exec.stream.ExecuteStreamHandler
-
Install a handler for the input stream of the subprocess.
- setProcessInputStream(OutputStream) - Method in class org.zeroturnaround.exec.stream.PumpStreamHandler
-
Set the OutputStream by means of which input can be sent
to the process.
- setProcessOutputStream(InputStream) - Method in interface org.zeroturnaround.exec.stream.ExecuteStreamHandler
-
Install a handler for the output stream of the subprocess.
- setProcessOutputStream(InputStream) - Method in class org.zeroturnaround.exec.stream.PumpStreamHandler
-
Set the InputStream from which to read the standard output
of the process.
- ShutdownHookProcessDestroyer - Class in org.zeroturnaround.exec.listener
-
Destroys all registered Processes when the VM exits.
- ShutdownHookProcessDestroyer() - Constructor for class org.zeroturnaround.exec.listener.ShutdownHookProcessDestroyer
-
Constructs a ProcessDestroyer and obtains
Runtime.addShutdownHook() and
Runtime.removeShutdownHook() through reflection.
- size() - Method in interface org.zeroturnaround.exec.listener.ProcessDestroyer
-
Returns the number of registered processes.
- size() - Method in class org.zeroturnaround.exec.listener.ShutdownHookProcessDestroyer
-
Returns the number of registered processes.
- SLEEPING_TIME - Static variable in class org.zeroturnaround.exec.stream.InputStreamPumper
-
- Slf4jDebugOutputStream - Class in org.zeroturnaround.exec.stream.slf4j
-
Output stream that writes debug level messages to a given Logger.
- Slf4jDebugOutputStream(Logger) - Constructor for class org.zeroturnaround.exec.stream.slf4j.Slf4jDebugOutputStream
-
- Slf4jErrorOutputStream - Class in org.zeroturnaround.exec.stream.slf4j
-
Output stream that writes error level messages to a given Logger.
- Slf4jErrorOutputStream(Logger) - Constructor for class org.zeroturnaround.exec.stream.slf4j.Slf4jErrorOutputStream
-
- Slf4jInfoOutputStream - Class in org.zeroturnaround.exec.stream.slf4j
-
Output stream that writes info level messages to a given Logger.
- Slf4jInfoOutputStream(Logger) - Constructor for class org.zeroturnaround.exec.stream.slf4j.Slf4jInfoOutputStream
-
- Slf4jOutputStream - Class in org.zeroturnaround.exec.stream.slf4j
-
Output stream that writes to a given Logger.
- Slf4jOutputStream(Logger) - Constructor for class org.zeroturnaround.exec.stream.slf4j.Slf4jOutputStream
-
- Slf4jStream - Class in org.zeroturnaround.exec.stream.slf4j
-
Creates output streams that write to Loggers.
- Slf4jTraceOutputStream - Class in org.zeroturnaround.exec.stream.slf4j
-
Output stream that writes trace level messages to a given Logger.
- Slf4jTraceOutputStream(Logger) - Constructor for class org.zeroturnaround.exec.stream.slf4j.Slf4jTraceOutputStream
-
- Slf4jWarnOutputStream - Class in org.zeroturnaround.exec.stream.slf4j
-
Output stream that writes warn level messages to a given Logger.
- Slf4jWarnOutputStream(Logger) - Constructor for class org.zeroturnaround.exec.stream.slf4j.Slf4jWarnOutputStream
-
- start() - Method in class org.zeroturnaround.exec.ProcessExecutor
-
Start the sub process.
- start() - Method in interface org.zeroturnaround.exec.stream.ExecuteStreamHandler
-
Start handling of the streams.
- start() - Method in class org.zeroturnaround.exec.stream.PumpStreamHandler
-
Start the Threads.
- StartedProcess - Class in org.zeroturnaround.exec
-
Represents a process that has started.
- StartedProcess(Process, Future<ProcessResult>) - Constructor for class org.zeroturnaround.exec.StartedProcess
-
- stop(Process) - Method in class org.zeroturnaround.exec.stop.DestroyProcessStopper
-
- stop(Process) - Method in class org.zeroturnaround.exec.stop.NopProcessStopper
-
- stop(Process) - Method in interface org.zeroturnaround.exec.stop.ProcessStopper
-
Stops a given sub process.
- stop() - Method in interface org.zeroturnaround.exec.stream.ExecuteStreamHandler
-
Stop handling of the streams - will not be restarted.
- stop() - Method in class org.zeroturnaround.exec.stream.PumpStreamHandler
-
Stop pumping the streams.
- stopper(ProcessStopper) - Method in class org.zeroturnaround.exec.ProcessExecutor
-
Sets the helper for stopping the process in case of timeout or cancellation.
- stopProcessing() - Method in class org.zeroturnaround.exec.stream.InputStreamPumper
-
- StreamPumper - Class in org.zeroturnaround.exec.stream
-
Copies all data from an input stream to an output stream.
- StreamPumper(InputStream, OutputStream, boolean) - Constructor for class org.zeroturnaround.exec.stream.StreamPumper
-
Create a new stream pumper.
- StreamPumper(InputStream, OutputStream, boolean, int) - Constructor for class org.zeroturnaround.exec.stream.StreamPumper
-
Create a new stream pumper.
- StreamPumper(InputStream, OutputStream) - Constructor for class org.zeroturnaround.exec.stream.StreamPumper
-
Create a new stream pumper.
- streams() - Method in class org.zeroturnaround.exec.ProcessExecutor
-
- streams(ExecuteStreamHandler) - Method in class org.zeroturnaround.exec.ProcessExecutor
-
Sets a stream handler for the process being executed.