Index

A B C E G H O P R S T V W 
All Classes and Interfaces|All Packages|Serialized Form

A

add(File) - Method in class org.jenkinsci.utils.process.CommandBuilder
 
add(Object) - Method in class org.jenkinsci.utils.process.CommandBuilder
 
add(Object...) - Method in class org.jenkinsci.utils.process.CommandBuilder
 
add(Object, boolean) - Method in class org.jenkinsci.utils.process.CommandBuilder
 
add(String) - Method in class org.jenkinsci.utils.process.CommandBuilder
 
add(String...) - Method in class org.jenkinsci.utils.process.CommandBuilder
 
add(CommandBuilder) - Method in class org.jenkinsci.utils.process.CommandBuilder
 
addAll(Collection<String>) - Method in class org.jenkinsci.utils.process.CommandBuilder
 
addKeyValuePair(String, String, String) - Method in class org.jenkinsci.utils.process.CommandBuilder
 
addKeyValuePairs(String, Map<String, String>) - Method in class org.jenkinsci.utils.process.CommandBuilder
Adds key value pairs as "-Dkey=value -Dkey=value ..." -D portion is configurable as the 'prefix' parameter.
addKeyValuePairs(String, Map<String, String>, Set<String>) - Method in class org.jenkinsci.utils.process.CommandBuilder
Adds key value pairs as "-Dkey=value -Dkey=value ..." with masking.
addQuoted(String) - Method in class org.jenkinsci.utils.process.CommandBuilder
Adds an argument by quoting it.
addQuoted(String, boolean) - Method in class org.jenkinsci.utils.process.CommandBuilder
 
asText() - Method in class org.jenkinsci.utils.process.ProcessInputStream
Reads the whole thing as a string.
available() - Method in class org.jenkinsci.utils.process.ProcessInputStream
 

B

build() - Method in class org.jenkinsci.utils.process.CommandBuilder
 

C

clear() - Method in class org.jenkinsci.utils.process.CommandBuilder
Re-initializes the arguments list.
clone() - Method in class org.jenkinsci.utils.process.CommandBuilder
 
close() - Method in class org.jenkinsci.utils.process.ProcessInputStream
 
CommandBuilder - Class in org.jenkinsci.utils.process
Used to build up arguments for a process invocation.
CommandBuilder() - Constructor for class org.jenkinsci.utils.process.CommandBuilder
 
CommandBuilder(String...) - Constructor for class org.jenkinsci.utils.process.CommandBuilder
 
CommandBuilder(Collection<String>) - Constructor for class org.jenkinsci.utils.process.CommandBuilder
 

E

env - Variable in class org.jenkinsci.utils.process.CommandBuilder
 
equals(Object) - Method in class org.jenkinsci.utils.process.CommandBuilder
 

G

getInputStream() - Method in class org.jenkinsci.utils.process.ProcessInputStream
 
getPid(Process) - Static method in class org.jenkinsci.utils.process.ProcessUtils
Figure out the UNIX process ID from Process
getProcess() - Method in class org.jenkinsci.utils.process.ProcessInputStream
Gives underlying Process

H

hashCode() - Method in class org.jenkinsci.utils.process.CommandBuilder
 

O

org.jenkinsci.utils.process - package org.jenkinsci.utils.process
 

P

popen() - Method in class org.jenkinsci.utils.process.CommandBuilder
Executes a process and read its output.
prepend(String...) - Method in class org.jenkinsci.utils.process.CommandBuilder
 
ProcessInputStream - Class in org.jenkinsci.utils.process
Represents a reader end of the pipe to a running process.
ProcessInputStream(Process) - Constructor for class org.jenkinsci.utils.process.ProcessInputStream
 
ProcessUtils - Class in org.jenkinsci.utils.process
 
ProcessUtils() - Constructor for class org.jenkinsci.utils.process.ProcessUtils
 
pwd(File) - Method in class org.jenkinsci.utils.process.CommandBuilder
 

R

read() - Method in class org.jenkinsci.utils.process.ProcessInputStream
 
read(byte[]) - Method in class org.jenkinsci.utils.process.ProcessInputStream
 
read(byte[], int, int) - Method in class org.jenkinsci.utils.process.ProcessInputStream
 

S

skip(long) - Method in class org.jenkinsci.utils.process.ProcessInputStream
 
system() - Method in class org.jenkinsci.utils.process.CommandBuilder
Executes a process and waits for that to complete.

T

toCommandArray() - Method in class org.jenkinsci.utils.process.CommandBuilder
 
toList() - Method in class org.jenkinsci.utils.process.CommandBuilder
 
toString() - Method in class org.jenkinsci.utils.process.CommandBuilder
Debug/error message friendly output.
toStringWithQuote() - Method in class org.jenkinsci.utils.process.CommandBuilder
Just adds quotes around args containing spaces, but no other special characters, so this method should generally be used only for informational/logging purposes.
toWindowsCommand() - Method in class org.jenkinsci.utils.process.CommandBuilder
Calls toWindowsCommand(false)
toWindowsCommand(boolean) - Method in class org.jenkinsci.utils.process.CommandBuilder
Wrap command in a CMD.EXE call so we can return the exit code (ERRORLEVEL).

V

verifyOrDieWith(String) - Method in class org.jenkinsci.utils.process.ProcessInputStream
Waits for the process to complete.

W

waitFor() - Method in class org.jenkinsci.utils.process.ProcessInputStream
Waits for the process to exit and returns its status code.
withErrorCheck() - Method in class org.jenkinsci.utils.process.ProcessInputStream
Decorates the input stream by forcing an read error in case the process exits with non-zero exit code.
A B C E G H O P R S T V W 
All Classes and Interfaces|All Packages|Serialized Form