Skip navigation links
A C D G H I M P R S T V 

A

AbstractProcessOutput - Class in com.github.fracpete.processoutput4j.output
Ancestor for classes that give access to the output generated by a process.
AbstractProcessOutput() - Constructor for class com.github.fracpete.processoutput4j.output.AbstractProcessOutput
Starts the monitoring process.
AbstractProcessReader - Class in com.github.fracpete.processoutput4j.reader
Ancestor for readers that read line from stdout/stderr of the provided Process object.
AbstractProcessReader(Process, boolean) - Constructor for class com.github.fracpete.processoutput4j.reader.AbstractProcessReader
Initializes the reader.

C

CollectingProcessOutput - Class in com.github.fracpete.processoutput4j.output
Collects the process output (stdout and stderr) and makes them available once the process finishes.
CollectingProcessOutput() - Constructor for class com.github.fracpete.processoutput4j.output.CollectingProcessOutput
 
CollectingProcessReader - Class in com.github.fracpete.processoutput4j.reader
Reader for storing all content.
CollectingProcessReader(Process, boolean, StringBuilder) - Constructor for class com.github.fracpete.processoutput4j.reader.CollectingProcessReader
Initializes the reader.
com.github.fracpete.processoutput4j.core - package com.github.fracpete.processoutput4j.core
 
com.github.fracpete.processoutput4j.output - package com.github.fracpete.processoutput4j.output
 
com.github.fracpete.processoutput4j.reader - package com.github.fracpete.processoutput4j.reader
 
configureStdErr(Process) - Method in class com.github.fracpete.processoutput4j.output.AbstractProcessOutput
Configures the thread for stderr.
configureStdErr(Process) - Method in class com.github.fracpete.processoutput4j.output.CollectingProcessOutput
Configures the thread for stderr.
configureStdErr(Process) - Method in class com.github.fracpete.processoutput4j.output.ConsoleOutputProcessOutput
Configures the thread for stderr.
configureStdErr(Process) - Method in class com.github.fracpete.processoutput4j.output.StreamingProcessOutput
Configures the thread for stderr.
configureStdOut(Process) - Method in class com.github.fracpete.processoutput4j.output.AbstractProcessOutput
Configures the thread for stdout.
configureStdOut(Process) - Method in class com.github.fracpete.processoutput4j.output.CollectingProcessOutput
Configures the thread for stdout.
configureStdOut(Process) - Method in class com.github.fracpete.processoutput4j.output.ConsoleOutputProcessOutput
Configures the thread for stdout.
configureStdOut(Process) - Method in class com.github.fracpete.processoutput4j.output.StreamingProcessOutput
Configures the thread for stdout.
configureTimeOutMonitor(Process) - Method in class com.github.fracpete.processoutput4j.output.AbstractProcessOutput
Configures the thread for watching for time outs.
ConsoleOutputProcessOutput - Class in com.github.fracpete.processoutput4j.output
A container class for the results obtained from executing a process.
ConsoleOutputProcessOutput() - Constructor for class com.github.fracpete.processoutput4j.output.ConsoleOutputProcessOutput
 
ConsoleOutputProcessReader - Class in com.github.fracpete.processoutput4j.reader
Just outputs the data to stdout/stderr.
ConsoleOutputProcessReader(Process, boolean) - Constructor for class com.github.fracpete.processoutput4j.reader.ConsoleOutputProcessReader
Initializes the reader.
ConsoleOutputProcessReader(Process, boolean, String) - Constructor for class com.github.fracpete.processoutput4j.reader.ConsoleOutputProcessReader
Initializes the reader.

D

destroy() - Method in class com.github.fracpete.processoutput4j.output.AbstractProcessOutput
Destroys the process if possible.

G

getCommand() - Method in class com.github.fracpete.processoutput4j.output.AbstractProcessOutput
Returns the command that was used for the process.
getContent() - Method in class com.github.fracpete.processoutput4j.reader.CollectingProcessReader
Returns the string builder for storing the content.
getEnvironment() - Method in class com.github.fracpete.processoutput4j.output.AbstractProcessOutput
Returns the environment.
getExitCode() - Method in class com.github.fracpete.processoutput4j.output.AbstractProcessOutput
Returns the exit code.
getOutputType() - Method in interface com.github.fracpete.processoutput4j.core.StreamingProcessOwner
Returns what output from the process to forward.
getPrefix() - Method in class com.github.fracpete.processoutput4j.reader.ConsoleOutputProcessReader
Returns the prefix in use.
getProcess() - Method in class com.github.fracpete.processoutput4j.output.AbstractProcessOutput
Returns the process.
getProcess() - Method in class com.github.fracpete.processoutput4j.reader.AbstractProcessReader
Returns the underlying Process object.
getStdErr() - Method in class com.github.fracpete.processoutput4j.output.CollectingProcessOutput
Returns the output on stderr.
getStdOut() - Method in class com.github.fracpete.processoutput4j.output.CollectingProcessOutput
Returns the output on stdout.
getTimeOut() - Method in class com.github.fracpete.processoutput4j.output.AbstractProcessOutput
Returns the timeout for the process in seconds.

H

hasSucceeded() - Method in class com.github.fracpete.processoutput4j.output.AbstractProcessOutput
Returns whether the process has succeeded.
hasTimedOut() - Method in class com.github.fracpete.processoutput4j.output.AbstractProcessOutput
Returns whether the process timed out and got terminated.

I

initialize() - Method in class com.github.fracpete.processoutput4j.output.AbstractProcessOutput
For initializing the members.
initialize() - Method in class com.github.fracpete.processoutput4j.output.CollectingProcessOutput
For initializing the members.
isStdout() - Method in class com.github.fracpete.processoutput4j.reader.AbstractProcessReader
Returns whether the reader is for stdout or stderr.

M

m_Command - Variable in class com.github.fracpete.processoutput4j.output.AbstractProcessOutput
the command.
m_Content - Variable in class com.github.fracpete.processoutput4j.reader.CollectingProcessReader
the string builder to store the data in.
m_Environment - Variable in class com.github.fracpete.processoutput4j.output.AbstractProcessOutput
the environment variables.
m_ExitCode - Variable in class com.github.fracpete.processoutput4j.output.AbstractProcessOutput
the exit code.
m_Forward - Variable in class com.github.fracpete.processoutput4j.reader.StreamingProcessReader
whether to forward the output to the owner.
m_Owner - Variable in class com.github.fracpete.processoutput4j.output.StreamingProcessOutput
the owner.
m_Owner - Variable in class com.github.fracpete.processoutput4j.reader.StreamingProcessReader
the owner.
m_Prefix - Variable in class com.github.fracpete.processoutput4j.reader.ConsoleOutputProcessReader
the prefix to use.
m_Process - Variable in class com.github.fracpete.processoutput4j.output.AbstractProcessOutput
the process.
m_Process - Variable in class com.github.fracpete.processoutput4j.reader.AbstractProcessReader
the process to read from.
m_StdErr - Variable in class com.github.fracpete.processoutput4j.output.CollectingProcessOutput
the stderr content.
m_StdOut - Variable in class com.github.fracpete.processoutput4j.output.CollectingProcessOutput
the stdout content.
m_Stdout - Variable in class com.github.fracpete.processoutput4j.reader.AbstractProcessReader
whether to use stdout or stderr.
m_TimedOut - Variable in class com.github.fracpete.processoutput4j.output.AbstractProcessOutput
whether the process has timed out.
m_TimeOut - Variable in class com.github.fracpete.processoutput4j.output.AbstractProcessOutput
the timeout for the process in seconds (ignored if < 1).
monitor(ProcessBuilder) - Method in class com.github.fracpete.processoutput4j.output.AbstractProcessOutput
Performs the actual process monitoring.
monitor(String, ProcessBuilder) - Method in class com.github.fracpete.processoutput4j.output.AbstractProcessOutput
Performs the actual process monitoring.
monitor(String, String[], Process) - Method in class com.github.fracpete.processoutput4j.output.AbstractProcessOutput
Performs the actual process monitoring.
monitor(String, String[], String, Process) - Method in class com.github.fracpete.processoutput4j.output.AbstractProcessOutput
Performs the actual process monitoring.
monitor(String[], String[], String, Process) - Method in class com.github.fracpete.processoutput4j.output.AbstractProcessOutput
Performs the actual process monitoring.

P

PREFIX_STDERR - Static variable in class com.github.fracpete.processoutput4j.reader.ConsoleOutputProcessReader
the default prefix for stderr.
PREFIX_STDOUT - Static variable in class com.github.fracpete.processoutput4j.reader.ConsoleOutputProcessReader
the default prefix for stdout.
process(String) - Method in class com.github.fracpete.processoutput4j.reader.AbstractProcessReader
For processing the line read from stdout/stderr.
process(String) - Method in class com.github.fracpete.processoutput4j.reader.CollectingProcessReader
For processing the line read from stdout/stderr.
process(String) - Method in class com.github.fracpete.processoutput4j.reader.ConsoleOutputProcessReader
For processing the line read from stdout/stderr.
process(String) - Method in class com.github.fracpete.processoutput4j.reader.StreamingProcessReader
For processing the line read from stdout/stderr.
processOutput(String, boolean) - Method in interface com.github.fracpete.processoutput4j.core.StreamingProcessOwner
Processes the incoming line.

R

run() - Method in class com.github.fracpete.processoutput4j.reader.AbstractProcessReader
Reads the data from the process.

S

setTimeOut(int) - Method in class com.github.fracpete.processoutput4j.output.AbstractProcessOutput
Sets the timeout for the process in seconds.
StreamingProcessOutput - Class in com.github.fracpete.processoutput4j.output
Streams the data into the owning StreamingProcessOwner object.
StreamingProcessOutput(StreamingProcessOwner) - Constructor for class com.github.fracpete.processoutput4j.output.StreamingProcessOutput
Initializes the process output with the specified owning object.
StreamingProcessOutputType - Enum in com.github.fracpete.processoutput4j.core
What to output.
StreamingProcessOwner - Interface in com.github.fracpete.processoutput4j.core
Interface for classes that make use of StreamingProcessOutput.
StreamingProcessReader - Class in com.github.fracpete.processoutput4j.reader
Forwards the output from the process to the owning StreamingProcessOwner object, if appropriate.
StreamingProcessReader(StreamingProcessOwner, Process, boolean) - Constructor for class com.github.fracpete.processoutput4j.reader.StreamingProcessReader
Initializes the reader.

T

toString() - Method in class com.github.fracpete.processoutput4j.output.AbstractProcessOutput
Returns a short description string.

V

valueOf(String) - Static method in enum com.github.fracpete.processoutput4j.core.StreamingProcessOutputType
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.github.fracpete.processoutput4j.core.StreamingProcessOutputType
Returns an array containing the constants of this enum type, in the order they are declared.
A C D G H I M P R S T V 
Skip navigation links

Copyright © 2018 University of Waikato, Hamilton, NZ. All Rights Reserved.