- caught - Variable in class org.apache.commons.exec.ExecuteWatchdog
-
Exception that might be thrown during the process execution.
- caught - Variable in class org.apache.commons.exec.PumpStreamHandler
-
the last exception being caught
- cause - Variable in exception org.apache.commons.exec.ExecuteException
-
The underlying cause of this exception.
- checkException() - Method in class org.apache.commons.exec.ExecuteWatchdog
-
This method will rethrow the exception that was possibly caught during
the run of the process.
- cleanUp() - Method in class org.apache.commons.exec.ExecuteWatchdog
-
reset the monitor flag and the process.
- close() - Method in class org.apache.commons.exec.LogOutputStream
-
Writes all remaining data from the buffer.
- closeProcessStreams(Process) - Method in class org.apache.commons.exec.DefaultExecutor
-
Close the streams belonging to the given Process.
- closeWhenExhausted - Variable in class org.apache.commons.exec.StreamPumper
-
close the output stream when exhausted
- CommandLauncher - Interface in org.apache.commons.exec.launcher
-
Interface to shield the caller from the various platform-dependent
implementations.
- CommandLauncherFactory - Class in org.apache.commons.exec.launcher
-
Builds a command launcher for the OS and JVM we are running under.
- CommandLauncherFactory() - Constructor for class org.apache.commons.exec.launcher.CommandLauncherFactory
-
- CommandLauncherImpl - Class in org.apache.commons.exec.launcher
-
A command launcher for a particular JVM/OS platform.
- CommandLauncherImpl() - Constructor for class org.apache.commons.exec.launcher.CommandLauncherImpl
-
- CommandLauncherProxy - Class in org.apache.commons.exec.launcher
-
A command launcher that proxies another command launcher.
- CommandLauncherProxy(CommandLauncher) - Constructor for class org.apache.commons.exec.launcher.CommandLauncherProxy
-
- CommandLine - Class in org.apache.commons.exec
-
CommandLine objects help handling command lines specifying processes to
execute.
- CommandLine(String) - Constructor for class org.apache.commons.exec.CommandLine
-
Create a command line without any arguments.
- CommandLine(File) - Constructor for class org.apache.commons.exec.CommandLine
-
Create a command line without any arguments.
- CommandLine(CommandLine) - Constructor for class org.apache.commons.exec.CommandLine
-
Copy constructor.
- CommandLine.Argument - Class in org.apache.commons.exec
-
Encapsulates a command line argument.
- COMMONS_EXEC_DEBUG - Static variable in class org.apache.commons.exec.util.DebugUtils
-
System property to determine how to dump an exception.
- COMMONS_EXEC_LENIENT - Static variable in class org.apache.commons.exec.util.DebugUtils
-
System property to determine how to handle exceptions.
- copy(Map<K, V>) - Static method in class org.apache.commons.exec.util.MapUtils
-
Clones a map.
- CR - Static variable in class org.apache.commons.exec.LogOutputStream
-
Carriage return
- createCommandFile(CommandLine, Map<String, String>) - Method in class org.apache.commons.exec.launcher.VmsCommandLauncher
-
- createEnvironmentMap() - Method in class org.apache.commons.exec.environment.DefaultProcessingEnvironment
-
Creates a map that obeys the casing rules of the current platform for key
lookup.
- createProcEnvironment() - Method in class org.apache.commons.exec.environment.DefaultProcessingEnvironment
-
Find the list of environment variables for this process.
- createProcessErrorPump(InputStream, OutputStream) - Method in class org.apache.commons.exec.PumpStreamHandler
-
Create the pump to handle error output.
- createProcessOutputPump(InputStream, OutputStream) - Method in class org.apache.commons.exec.PumpStreamHandler
-
Create the pump to handle process output.
- createPump(InputStream, OutputStream) - Method in class org.apache.commons.exec.PumpStreamHandler
-
Creates a stream pumper to copy the given input stream to the given
output stream.
- createPump(InputStream, OutputStream, boolean) - Method in class org.apache.commons.exec.PumpStreamHandler
-
Creates a stream pumper to copy the given input stream to the given
output stream.
- createSystemInPump(InputStream, OutputStream) - Method in class org.apache.commons.exec.PumpStreamHandler
-
Creates a stream pumper to copy the given input stream to the given
output stream.
- createThread(Runnable, String) - Method in class org.apache.commons.exec.DaemonExecutor
-
Factory method to create a thread waiting for the result of an asynchronous execution.
- createThread(Runnable, String) - Method in class org.apache.commons.exec.DefaultExecutor
-
Factory method to create a thread waiting for the result of an
asynchronous execution.
- createVMLauncher() - Static method in class org.apache.commons.exec.launcher.CommandLauncherFactory
-
Factory method to create an appropriate launcher.
- ensureStarted() - Method in class org.apache.commons.exec.ExecuteWatchdog
-
Ensures that the process is started, so we do not race with asynch execution.
- EnvironmentUtils - Class in org.apache.commons.exec.environment
-
Wrapper for environment variables.
- EnvironmentUtils() - Constructor for class org.apache.commons.exec.environment.EnvironmentUtils
-
Disable constructor.
- err - Variable in class org.apache.commons.exec.PumpStreamHandler
-
- errorThread - Variable in class org.apache.commons.exec.PumpStreamHandler
-
- exception - Variable in class org.apache.commons.exec.DefaultExecuteResultHandler
-
Any offending exception
- exceptionCaught - Variable in class org.apache.commons.exec.DefaultExecutor
-
the first exception being caught to be thrown to the caller
- exec(CommandLine, Map<String, String>) - Method in interface org.apache.commons.exec.launcher.CommandLauncher
-
Launches the given command in a new process.
- exec(CommandLine, Map<String, String>, File) - Method in interface org.apache.commons.exec.launcher.CommandLauncher
-
Launches the given command in a new process, in the given working
directory.
- exec(CommandLine, Map<String, String>) - Method in class org.apache.commons.exec.launcher.CommandLauncherImpl
-
- exec(CommandLine, Map<String, String>, File) - Method in class org.apache.commons.exec.launcher.CommandLauncherImpl
-
- exec(CommandLine, Map<String, String>) - Method in class org.apache.commons.exec.launcher.CommandLauncherProxy
-
Launches the given command in a new process.
- exec(CommandLine, Map<String, String>, File) - Method in class org.apache.commons.exec.launcher.Java13CommandLauncher
-
Launches the given command in a new process, in the given working
directory
- exec(CommandLine, Map<String, String>, File) - Method in class org.apache.commons.exec.launcher.OS2CommandLauncher
-
Launches the given command in a new process, in the given working
directory.
- exec(CommandLine, Map<String, String>) - Method in class org.apache.commons.exec.launcher.VmsCommandLauncher
-
Launches the given command in a new process.
- exec(CommandLine, Map<String, String>, File) - Method in class org.apache.commons.exec.launcher.VmsCommandLauncher
-
Launches the given command in a new process, in the given working
directory.
- exec(CommandLine, Map<String, String>, File) - Method in class org.apache.commons.exec.launcher.WinNTCommandLauncher
-
Launches the given command in a new process, in the given working
directory.
- executable - Variable in class org.apache.commons.exec.CommandLine
-
The program to execute.
- execute(CommandLine) - Method in class org.apache.commons.exec.DefaultExecutor
-
- execute(CommandLine, Map<String, String>) - Method in class org.apache.commons.exec.DefaultExecutor
-
- execute(CommandLine, ExecuteResultHandler) - Method in class org.apache.commons.exec.DefaultExecutor
-
- execute(CommandLine, Map<String, String>, ExecuteResultHandler) - Method in class org.apache.commons.exec.DefaultExecutor
-
- execute(CommandLine) - Method in interface org.apache.commons.exec.Executor
-
Methods for starting synchronous execution.
- execute(CommandLine, Map<String, String>) - Method in interface org.apache.commons.exec.Executor
-
Methods for starting synchronous execution.
- execute(CommandLine, ExecuteResultHandler) - Method in interface org.apache.commons.exec.Executor
-
Methods for starting asynchronous execution.
- execute(CommandLine, Map<String, String>, ExecuteResultHandler) - Method in interface org.apache.commons.exec.Executor
-
Methods for starting asynchronous execution.
- ExecuteException - Exception in org.apache.commons.exec
-
An exception indicating that the executing a subprocesses failed.
- ExecuteException(String, int) - Constructor for exception org.apache.commons.exec.ExecuteException
-
Construct a new exception with the specified detail message.
- ExecuteException(String, int, Throwable) - Constructor for exception org.apache.commons.exec.ExecuteException
-
Construct a new exception with the specified detail message and cause.
- executeInternal(CommandLine, Map<String, String>, File, ExecuteStreamHandler) - Method in class org.apache.commons.exec.DefaultExecutor
-
Execute an internal process.
- ExecuteResultHandler - Interface in org.apache.commons.exec
-
The callback handlers for the result of asynchronous process execution.
- ExecuteStreamHandler - Interface in org.apache.commons.exec
-
Used by Execute
to handle input and output stream of
subprocesses.
- ExecuteWatchdog - Class in org.apache.commons.exec
-
Destroys a process running for too long.
- ExecuteWatchdog(long) - Constructor for class org.apache.commons.exec.ExecuteWatchdog
-
Creates a new watchdog with a given timeout.
- Executor - Interface in org.apache.commons.exec
-
The main abstraction to start an external process.
- executorThread - Variable in class org.apache.commons.exec.DefaultExecutor
-
worker thread for asynchronous execution
- exitValue - Variable in class org.apache.commons.exec.DefaultExecuteResultHandler
-
The exit value of the finished process
- exitValue - Variable in exception org.apache.commons.exec.ExecuteException
-
The exit value returned by the failed process
- exitValues - Variable in class org.apache.commons.exec.DefaultExecutor
-
the exit values considered to be successful
- expandArgument(String) - Method in class org.apache.commons.exec.CommandLine
-
Expand variables in a command line argument.
- getArguments() - Method in class org.apache.commons.exec.CommandLine
-
Returns the expanded and quoted command line arguments.
- getCause() - Method in exception org.apache.commons.exec.ExecuteException
-
Return the underlying cause of this exception (if any).
- getErr() - Method in class org.apache.commons.exec.PumpStreamHandler
-
Get the error stream.
- getException() - Method in class org.apache.commons.exec.DefaultExecuteResultHandler
-
Get the exception
causing the process execution to fail.
- getExceptionCaught() - Method in class org.apache.commons.exec.DefaultExecutor
-
Get the first IOException being thrown.
- getExecutable() - Method in class org.apache.commons.exec.CommandLine
-
Returns the executable.
- getExecutorThread() - Method in class org.apache.commons.exec.DefaultExecutor
-
Get the worker thread being used for asynchronous execution.
- getExitValue() - Method in class org.apache.commons.exec.DefaultExecuteResultHandler
-
Get the exitValue
of the process.
- getExitValue() - Method in exception org.apache.commons.exec.ExecuteException
-
Gets the exit value returned by the failed process
- getMessageLevel() - Method in class org.apache.commons.exec.LogOutputStream
-
- getOut() - Method in class org.apache.commons.exec.PumpStreamHandler
-
Get the output stream.
- getProcEnvCommand() - Method in class org.apache.commons.exec.environment.DefaultProcessingEnvironment
-
- getProcEnvironment() - Method in class org.apache.commons.exec.environment.DefaultProcessingEnvironment
-
Find the list of environment variables for this process.
- getProcEnvironment() - Static method in class org.apache.commons.exec.environment.EnvironmentUtils
-
Find the list of environment variables for this process.
- getProcessDestroyer() - Method in class org.apache.commons.exec.DefaultExecutor
-
- getProcessDestroyer() - Method in interface org.apache.commons.exec.Executor
-
Set the handler for cleanup of started processes if the main process
is going to terminate.
- getStreamHandler() - Method in class org.apache.commons.exec.DefaultExecutor
-
- getStreamHandler() - Method in interface org.apache.commons.exec.Executor
-
Get the StreamHandler used for providing input and
retrieving the output.
- getSubstitutionMap() - Method in class org.apache.commons.exec.CommandLine
-
- getValue() - Method in class org.apache.commons.exec.CommandLine.Argument
-
- getWatchdog() - Method in class org.apache.commons.exec.DefaultExecutor
-
- getWatchdog() - Method in interface org.apache.commons.exec.Executor
-
Get the watchdog used to kill of processes running,
typically, too long time.
- getWorkingDirectory() - Method in class org.apache.commons.exec.DefaultExecutor
-
- getWorkingDirectory() - Method in interface org.apache.commons.exec.Executor
-
Get the working directory of the created process.
- INFINITE_TIMEOUT - Static variable in class org.apache.commons.exec.ExecuteWatchdog
-
The marker for an infinite timeout
- input - Variable in class org.apache.commons.exec.PumpStreamHandler
-
- InputStreamPumper - Class in org.apache.commons.exec
-
Copies all data from an System.input stream to an output stream of the executed process.
- InputStreamPumper(InputStream, OutputStream) - Constructor for class org.apache.commons.exec.InputStreamPumper
-
Create a new stream pumper.
- inputStreamPumper - Variable in class org.apache.commons.exec.PumpStreamHandler
-
- inputThread - Variable in class org.apache.commons.exec.PumpStreamHandler
-
- INTIAL_SIZE - Static variable in class org.apache.commons.exec.LogOutputStream
-
Initial buffer size.
- INVALID_EXITVALUE - Static variable in interface org.apache.commons.exec.Executor
-
Invalid exit code.
- is - Variable in class org.apache.commons.exec.InputStreamPumper
-
the input stream to pump from
- is - Variable in class org.apache.commons.exec.StreamPumper
-
the input stream to pump from
- isAddedAsShutdownHook() - Method in class org.apache.commons.exec.ShutdownHookProcessDestroyer
-
Returns whether or not the ProcessDestroyer is registered as as shutdown
hook
- isArch(String) - Static method in class org.apache.commons.exec.OS
-
Determines if the OS on which Ant is executing matches the given OS
architecture.
- isDebugEnabled() - Static method in class org.apache.commons.exec.util.DebugUtils
-
Determines if debugging is enabled based on the
system property "COMMONS_EXEC_DEBUG".
- isFailure(int) - Method in class org.apache.commons.exec.DefaultExecutor
-
- isFailure(int) - Method in interface org.apache.commons.exec.Executor
-
Checks whether exitValue
signals a failure.
- isFailure(int) - Method in interface org.apache.commons.exec.launcher.CommandLauncher
-
Checks whether exitValue
signals a failure on the current
system (OS specific).
- isFailure(int) - Method in class org.apache.commons.exec.launcher.CommandLauncherImpl
-
- isFailure(int) - Method in class org.apache.commons.exec.launcher.VmsCommandLauncher
-
- isFamily(String) - Static method in class org.apache.commons.exec.OS
-
Determines if the OS on which Ant is executing matches the given OS
family.
- isFamilyDOS() - Static method in class org.apache.commons.exec.OS
-
- isFamilyMac() - Static method in class org.apache.commons.exec.OS
-
- isFamilyNetware() - Static method in class org.apache.commons.exec.OS
-
- isFamilyOpenVms() - Static method in class org.apache.commons.exec.OS
-
- isFamilyOS2() - Static method in class org.apache.commons.exec.OS
-
- isFamilyOS400() - Static method in class org.apache.commons.exec.OS
-
- isFamilyTandem() - Static method in class org.apache.commons.exec.OS
-
- isFamilyUnix() - Static method in class org.apache.commons.exec.OS
-
- isFamilyWin9x() - Static method in class org.apache.commons.exec.OS
-
- isFamilyWindows() - Static method in class org.apache.commons.exec.OS
-
- isFamilyZOS() - Static method in class org.apache.commons.exec.OS
-
- isFile - Variable in class org.apache.commons.exec.CommandLine
-
Was a file being used to set the executable?
- isFile() - Method in class org.apache.commons.exec.CommandLine
-
Was a file being used to set the executable?
- isFinished() - Method in class org.apache.commons.exec.StreamPumper
-
Tells whether the end of the stream has been reached.
- isHandleQuoting() - Method in class org.apache.commons.exec.CommandLine.Argument
-
- isLenientEnabled() - Static method in class org.apache.commons.exec.util.DebugUtils
-
Determines if lenient mode is enabled.
- isName(String) - Static method in class org.apache.commons.exec.OS
-
Determines if the OS on which Ant is executing matches the given OS name.
- isOs(String, String, String, String) - Static method in class org.apache.commons.exec.OS
-
Determines if the OS on which Ant is executing matches the given OS
family, name, architecture and version
- isQuoted(String) - Static method in class org.apache.commons.exec.util.StringUtils
-
Determines if this is a quoted argument - either single or
double quoted.
- isVersion(String) - Static method in class org.apache.commons.exec.OS
-
Determines if the OS on which Ant is executing matches the given OS
version.
- isWatching() - Method in class org.apache.commons.exec.ExecuteWatchdog
-
Indicates whether or not the watchdog is still monitoring the process.
- parse(String) - Static method in class org.apache.commons.exec.CommandLine
-
Create a command line from a string.
- parse(String, Map<String, ?>) - Static method in class org.apache.commons.exec.CommandLine
-
Create a command line from a string.
- parseEnvironmentVariable(String) - Static method in class org.apache.commons.exec.environment.EnvironmentUtils
-
Split a key/value pair into a String[].
- PATH_SEP - Static variable in class org.apache.commons.exec.OS
-
- prefix(Map<K, V>, String) - Static method in class org.apache.commons.exec.util.MapUtils
-
Clones a map and prefixes the keys in the clone, e.g.
- procEnvironment - Variable in class org.apache.commons.exec.environment.DefaultProcessingEnvironment
-
the environment variables of the process
- process - Variable in class org.apache.commons.exec.ExecuteWatchdog
-
The process to execute and watch for duration.
- processBuffer() - Method in class org.apache.commons.exec.LogOutputStream
-
Converts the buffer to a string and sends it to processLine
.
- processDestroyer - Variable in class org.apache.commons.exec.DefaultExecutor
-
optional cleanup of started processes
- ProcessDestroyer - Interface in org.apache.commons.exec
-
Destroys all registered Process
after a certain event,
typically when the VM exits
- ProcessDestroyerImpl() - Constructor for class org.apache.commons.exec.ShutdownHookProcessDestroyer.ProcessDestroyerImpl
-
- processes - Variable in class org.apache.commons.exec.ShutdownHookProcessDestroyer
-
the list of currently running processes
- PROCESSING_ENVIRONMENT_IMPLEMENTATION - Static variable in class org.apache.commons.exec.environment.EnvironmentUtils
-
- processLine(String) - Method in class org.apache.commons.exec.LogOutputStream
-
Logs a line to the log system of the user.
- processLine(String, int) - Method in class org.apache.commons.exec.LogOutputStream
-
Logs a line to the log system of the user.
- processStarted - Variable in class org.apache.commons.exec.ExecuteWatchdog
-
Indicates that the process is verified as started
- PumpStreamHandler - Class in org.apache.commons.exec
-
Copies standard output and error of sub-processes to standard output and error
of the parent process.
- PumpStreamHandler() - Constructor for class org.apache.commons.exec.PumpStreamHandler
-
Construct a new PumpStreamHandler
.
- PumpStreamHandler(OutputStream) - Constructor for class org.apache.commons.exec.PumpStreamHandler
-
Construct a new PumpStreamHandler
.
- PumpStreamHandler(OutputStream, OutputStream) - Constructor for class org.apache.commons.exec.PumpStreamHandler
-
Construct a new PumpStreamHandler
.
- PumpStreamHandler(OutputStream, OutputStream, InputStream) - Constructor for class org.apache.commons.exec.PumpStreamHandler
-
Construct a new PumpStreamHandler
.
- serialVersionUID - Static variable in exception org.apache.commons.exec.ExecuteException
-
Comment for serialVersionUID
.
- setExceptionCaught(IOException) - Method in class org.apache.commons.exec.DefaultExecutor
-
Keep track of the first IOException being thrown.
- setExitValue(int) - Method in class org.apache.commons.exec.DefaultExecutor
-
- setExitValue(int) - Method in interface org.apache.commons.exec.Executor
-
Define the exitValue
of the process to be considered
successful.
- setExitValues(int[]) - Method in class org.apache.commons.exec.DefaultExecutor
-
- setExitValues(int[]) - Method in interface org.apache.commons.exec.Executor
-
Define a list of exitValue
of the process to be considered
successful.
- setProcessDestroyer(ProcessDestroyer) - Method in class org.apache.commons.exec.DefaultExecutor
-
- setProcessDestroyer(ProcessDestroyer) - Method in interface org.apache.commons.exec.Executor
-
Get the handler for cleanup of started processes if the main process
is going to terminate.
- setProcessErrorStream(InputStream) - Method in interface org.apache.commons.exec.ExecuteStreamHandler
-
Install a handler for the error stream of the subprocess.
- setProcessErrorStream(InputStream) - Method in class org.apache.commons.exec.PumpStreamHandler
-
Set the InputStream
from which to read the standard error
of the process.
- setProcessInputStream(OutputStream) - Method in interface org.apache.commons.exec.ExecuteStreamHandler
-
Install a handler for the input stream of the subprocess.
- setProcessInputStream(OutputStream) - Method in class org.apache.commons.exec.PumpStreamHandler
-
Set the OutputStream
by means of which input can be sent
to the process.
- setProcessNotStarted() - Method in class org.apache.commons.exec.ExecuteWatchdog
-
- setProcessOutputStream(InputStream) - Method in interface org.apache.commons.exec.ExecuteStreamHandler
-
Install a handler for the output stream of the subprocess.
- setProcessOutputStream(InputStream) - Method in class org.apache.commons.exec.PumpStreamHandler
-
Set the InputStream
from which to read the standard output
of the process.
- setShouldDestroy(boolean) - Method in class org.apache.commons.exec.ShutdownHookProcessDestroyer.ProcessDestroyerImpl
-
- setStopTimeout(long) - Method in class org.apache.commons.exec.PumpStreamHandler
-
- setStreamHandler(ExecuteStreamHandler) - Method in class org.apache.commons.exec.DefaultExecutor
-
- setStreamHandler(ExecuteStreamHandler) - Method in interface org.apache.commons.exec.Executor
-
Set a custom the StreamHandler used for providing
input and retrieving the output.
- setSubstitutionMap(Map<String, ?>) - Method in class org.apache.commons.exec.CommandLine
-
Set the substitutionMap to expand variables in the
command line.
- setWatchdog(ExecuteWatchdog) - Method in class org.apache.commons.exec.DefaultExecutor
-
- setWatchdog(ExecuteWatchdog) - Method in interface org.apache.commons.exec.Executor
-
Set the watchdog used to kill of processes running,
typically, too long time.
- setWorkingDirectory(File) - Method in class org.apache.commons.exec.DefaultExecutor
-
- setWorkingDirectory(File) - Method in interface org.apache.commons.exec.Executor
-
Set the working directory of the created process.
- shouldDestroy - Variable in class org.apache.commons.exec.ShutdownHookProcessDestroyer.ProcessDestroyerImpl
-
- ShutdownHookProcessDestroyer - Class in org.apache.commons.exec
-
Destroys all registered Process
es when the VM exits.
- ShutdownHookProcessDestroyer() - Constructor for class org.apache.commons.exec.ShutdownHookProcessDestroyer
-
Constructs a ProcessDestroyer
and obtains
Runtime.addShutdownHook()
and
Runtime.removeShutdownHook()
through reflection.
- ShutdownHookProcessDestroyer.ProcessDestroyerImpl - Class in org.apache.commons.exec
-
- SINGLE_QUOTE - Static variable in class org.apache.commons.exec.util.StringUtils
-
- size() - Method in interface org.apache.commons.exec.ProcessDestroyer
-
Returns the number of registered processes.
- size() - Method in class org.apache.commons.exec.ShutdownHookProcessDestroyer
-
Returns the number of registered processes.
- size - Variable in class org.apache.commons.exec.StreamPumper
-
the size of the internal buffer for copying the streams
- skip - Variable in class org.apache.commons.exec.LogOutputStream
-
- SLASH_CHAR - Static variable in class org.apache.commons.exec.util.StringUtils
-
- SLEEP_TIME_MS - Static variable in class org.apache.commons.exec.DefaultExecuteResultHandler
-
the interval polling the result
- SLEEPING_TIME - Static variable in class org.apache.commons.exec.InputStreamPumper
-
- split(String, String) - Static method in class org.apache.commons.exec.util.StringUtils
-
Split a string into an array of strings based
on a separator.
- start() - Method in interface org.apache.commons.exec.ExecuteStreamHandler
-
Start handling of the streams.
- start(Process) - Method in class org.apache.commons.exec.ExecuteWatchdog
-
Watches the given process and terminates it, if it runs for too long.
- start() - Method in class org.apache.commons.exec.PumpStreamHandler
-
Start the Thread
s.
- start() - Method in class org.apache.commons.exec.Watchdog
-
- stop() - Method in interface org.apache.commons.exec.ExecuteStreamHandler
-
Stop handling of the streams - will not be restarted.
- stop() - Method in class org.apache.commons.exec.ExecuteWatchdog
-
Stops the watcher.
- stop - Variable in class org.apache.commons.exec.InputStreamPumper
-
flag to stop the stream pumping
- stop() - Method in class org.apache.commons.exec.PumpStreamHandler
-
Stop pumping the streams.
- stop() - Method in class org.apache.commons.exec.Watchdog
-
- STOP_TIMEOUT_ADDITION - Static variable in class org.apache.commons.exec.PumpStreamHandler
-
- stopped - Variable in class org.apache.commons.exec.Watchdog
-
- stopProcessing() - Method in class org.apache.commons.exec.InputStreamPumper
-
- stopThread(Thread, long) - Method in class org.apache.commons.exec.PumpStreamHandler
-
Stopping a pumper thread.
- stopTimeout - Variable in class org.apache.commons.exec.PumpStreamHandler
-
the timeout in ms the implementation waits when stopping the pumper threads
- streamHandler - Variable in class org.apache.commons.exec.DefaultExecutor
-
taking care of output and error stream
- StreamPumper - Class in org.apache.commons.exec
-
Copies all data from an input stream to an output stream.
- StreamPumper(InputStream, OutputStream, boolean) - Constructor for class org.apache.commons.exec.StreamPumper
-
Create a new stream pumper.
- StreamPumper(InputStream, OutputStream, boolean, int) - Constructor for class org.apache.commons.exec.StreamPumper
-
Create a new stream pumper.
- StreamPumper(InputStream, OutputStream) - Constructor for class org.apache.commons.exec.StreamPumper
-
Create a new stream pumper.
- stringSubstitution(String, Map<? super String, ?>, boolean) - Static method in class org.apache.commons.exec.util.StringUtils
-
Perform a series of substitutions.
- StringUtils - Class in org.apache.commons.exec.util
-
Supplement of commons-lang, the stringSubstitution() was in a simpler
implementation available in an older commons-lang implementation.
- StringUtils() - Constructor for class org.apache.commons.exec.util.StringUtils
-
- substitutionMap - Variable in class org.apache.commons.exec.CommandLine
-
A map of name value pairs used to expand command line arguments
- waitFor() - Method in class org.apache.commons.exec.DefaultExecuteResultHandler
-
Causes the current thread to wait, if necessary, until the
process has terminated.
- waitFor(long) - Method in class org.apache.commons.exec.DefaultExecuteResultHandler
-
Causes the current thread to wait, if necessary, until the
process has terminated.
- waitFor() - Method in class org.apache.commons.exec.StreamPumper
-
This method blocks until the stream pumper finishes.
- watch - Variable in class org.apache.commons.exec.ExecuteWatchdog
-
Say whether or not the watchdog is currently monitoring a process.
- watchdog - Variable in class org.apache.commons.exec.DefaultExecutor
-
monitoring of long running processes
- watchdog - Variable in class org.apache.commons.exec.ExecuteWatchdog
-
Will tell us whether timeout has occurred.
- Watchdog - Class in org.apache.commons.exec
-
Generalization of ExecuteWatchdog
- Watchdog(long) - Constructor for class org.apache.commons.exec.Watchdog
-
- WinNTCommandLauncher - Class in org.apache.commons.exec.launcher
-
A command launcher for Windows XP/2000/NT that uses 'cmd.exe' when launching
commands in directories other than the current working directory.
- WinNTCommandLauncher(CommandLauncher) - Constructor for class org.apache.commons.exec.launcher.WinNTCommandLauncher
-
- workingDirectory - Variable in class org.apache.commons.exec.DefaultExecutor
-
the working directory of the process
- write(int) - Method in class org.apache.commons.exec.LogOutputStream
-
Write the data to the buffer and flush the buffer, if a line separator is
detected.
- write(byte[], int, int) - Method in class org.apache.commons.exec.LogOutputStream
-
Write a block of characters to the output stream