Index

A C D E F G H I K L M N O P R S T U V W X 
All Classes and Interfaces|All Packages|Serialized Form

A

addShellSpawnCommandIfNeeded(String) - Method in class org.opentestfactory.utils.shell.Platform
Depending on what works or doesn't on the platform, may decide wether to open a shell.
addStatementFromLine(Iterator<String>, StringBuffer) - Method in class org.opentestfactory.utils.shell.Platform
Perform platform-related changes to prepare the command string for execution.
AmnesicStringBuffer - Class in org.opentestfactory.utils
That class will eat characters and string, but will only remember the nth last character when asked to restitute the said string.
AmnesicStringBuffer() - Constructor for class org.opentestfactory.utils.AmnesicStringBuffer
 
AmnesicStringBuffer(int) - Constructor for class org.opentestfactory.utils.AmnesicStringBuffer
 
append(char) - Method in class org.opentestfactory.utils.AmnesicStringBuffer
 
append(CharSequence) - Method in class org.opentestfactory.utils.AmnesicStringBuffer
 
append(CharSequence, int, int) - Method in class org.opentestfactory.utils.AmnesicStringBuffer
 
appendPath(String, String) - Static method in class org.opentestfactory.utils.UrlUtils
 
attributeMatchAny(Function<T, A>, Collection<A>) - Method in class org.opentestfactory.utils.ListOf
Get all list elements which value for the target attribute is in the given list.
attributeMatchUndefined(Function<T, A>) - Method in class org.opentestfactory.utils.ListOf
Get all list elements where the attribute is null.
attributeMatchValue(Function<T, A>, A) - Method in class org.opentestfactory.utils.ListOf
Get all list elements with the given (non null) value for an attribute retrieved through the provided getter.

C

changeIntoInSHellCommand(String) - Method in class org.opentestfactory.utils.shell.Platform
 
changeIntoInSHellCommand(String) - Method in class org.opentestfactory.utils.shell.PosixPlatform
 
changeIntoInSHellCommand(String) - Method in class org.opentestfactory.utils.shell.WindowsPlatform
 
ClasspathException - Exception Class in org.opentestfactory.utils.process
Thrown when the required classpath operation fails.
ClasspathException(String) - Constructor for exception class org.opentestfactory.utils.process.ClasspathException
 
ClasspathException(String, Throwable) - Constructor for exception class org.opentestfactory.utils.process.ClasspathException
 
ClasspathManager - Class in org.opentestfactory.utils.process
This class provides functionalities to work on classpaths.
ClasspathManager() - Constructor for class org.opentestfactory.utils.process.ClasspathManager
 
CommandLine - Class in org.opentestfactory.utils.process
Some static logic used by the process management subsystem.
CommandLine() - Constructor for class org.opentestfactory.utils.process.CommandLine
 
commitOutputLine(String) - Method in class org.opentestfactory.utils.process.ProcessLogger
 
commitOutputLine(String) - Method in class org.opentestfactory.utils.process.ProcessStreamListener
 

D

DocumentBuildingException - Exception Class in org.opentestfactory.utils.document
 
DocumentBuildingException(String, Throwable) - Constructor for exception class org.opentestfactory.utils.document.DocumentBuildingException
 
DocumentUtils - Class in org.opentestfactory.utils.document
 

E

equals(Object) - Method in class org.opentestfactory.utils.ListOf
 
err - Enum constant in enum class org.opentestfactory.utils.shell.OutputStream
 
error(SAXParseException) - Method in class org.opentestfactory.utils.document.SAXParseErrorHandler
 
evaluateXPath(Document, String) - Static method in class org.opentestfactory.utils.document.DocumentUtils
 
evaluateXPath(Document, String, String...) - Static method in class org.opentestfactory.utils.document.DocumentUtils
 
ExternalProcessFailure - Exception Class in org.opentestfactory.utils.process
Exception thrown when an external process fails.
ExternalProcessFailure(String, String) - Constructor for exception class org.opentestfactory.utils.process.ExternalProcessFailure
 
ExternalProcessFailure(String, String, Integer) - Constructor for exception class org.opentestfactory.utils.process.ExternalProcessFailure
 

F

fatalError(SAXParseException) - Method in class org.opentestfactory.utils.document.SAXParseErrorHandler
 

G

getClassCProotURL(Class<?>) - Method in class org.opentestfactory.utils.process.ClasspathManager
 
getCommand() - Method in class org.opentestfactory.utils.shell.ShellResult
 
getDocument(String) - Static method in class org.opentestfactory.utils.document.DocumentUtils
 
getErrorStream() - Method in class org.opentestfactory.utils.process.ProcessHandle
Get the last 200 lines of the process error stream.
getErrorStreamContent() - Method in exception class org.opentestfactory.utils.process.ExternalProcessFailure
 
getExitValue() - Method in class org.opentestfactory.utils.shell.ShellResult
 
getLocalPlatform() - Static method in class org.opentestfactory.utils.shell.Platform
This function returns a Platform instance tuned to the local platform.
getNodes(Document, String) - Static method in class org.opentestfactory.utils.document.DocumentUtils
 
getPlatformStatementSeparator() - Method in class org.opentestfactory.utils.shell.Platform
 
getPlatformStatementSeparator() - Method in class org.opentestfactory.utils.shell.PosixPlatform
 
getPlatformStatementSeparator() - Method in class org.opentestfactory.utils.shell.WindowsPlatform
 
getProcessName() - Method in class org.opentestfactory.utils.process.ProcessHandle
 
getReturnCode() - Method in exception class org.opentestfactory.utils.process.ExternalProcessFailure
 
getStderr() - Method in class org.opentestfactory.utils.shell.ShellResult
 
getStdout() - Method in class org.opentestfactory.utils.shell.ShellResult
 
getStdoutStream() - Method in class org.opentestfactory.utils.process.ProcessHandle
Get the last 200 lines of the process error stream.
getStreamContent() - Method in class org.opentestfactory.utils.process.StreamMuncher
 
getStringFromDocument(Document) - Static method in class org.opentestfactory.utils.document.DocumentUtils
 

H

hashCode() - Method in class org.opentestfactory.utils.ListOf
 

I

isMultistatement(String) - Method in class org.opentestfactory.utils.shell.Platform
 
isProcessAlive() - Method in class org.opentestfactory.utils.process.ProcessHandle
Check if the underlying process is still alive.

K

killProcess() - Method in class org.opentestfactory.utils.process.ProcessHandle
Kill the underlying process.

L

ListOf<T> - Class in org.opentestfactory.utils
List wrapper to add filtering and extraction functions to lists.
ListOf(Collection<T>) - Constructor for class org.opentestfactory.utils.ListOf
 
LocalProcessClient - Class in org.opentestfactory.utils.process
Client responsible to deal with the local system in process executing
LocalProcessClient() - Constructor for class org.opentestfactory.utils.process.LocalProcessClient
 

M

MalformedDocumentBuildingException - Exception Class in org.opentestfactory.utils.document
 
MalformedDocumentBuildingException(String, Throwable) - Constructor for exception class org.opentestfactory.utils.document.MalformedDocumentBuildingException
 

N

needsShellOnPlatform(String) - Method in class org.opentestfactory.utils.shell.Platform
 
needsShellOnPlatform(String) - Method in class org.opentestfactory.utils.shell.PosixPlatform
 
needsShellOnPlatform(String) - Method in class org.opentestfactory.utils.shell.WindowsPlatform
 
nonNullOrElse(R, R) - Static method in class org.opentestfactory.utils.ObjectUtils
 

O

ObjectUtils - Class in org.opentestfactory.utils
JDK8 compatibility
org.opentestfactory.utils - package org.opentestfactory.utils
All-purpose utilities (List operators, validation primitives and such.
org.opentestfactory.utils.document - package org.opentestfactory.utils.document
Various utilities to analyze documents or tool reports.
org.opentestfactory.utils.process - package org.opentestfactory.utils.process
This package implements process handling primitives.
org.opentestfactory.utils.shell - package org.opentestfactory.utils.shell
This package implements shell adaptor logic.
out - Enum constant in enum class org.opentestfactory.utils.shell.OutputStream
 
OutputStream - Enum Class in org.opentestfactory.utils.shell
Enum to characterize streams in shell-related operations.

P

parse(String) - Static method in class org.opentestfactory.utils.process.CommandLine
Utility method to split a command line given as a unique string to an array of string
Platform - Class in org.opentestfactory.utils.shell
For testability, we encapsulate plateform-dependant behavior in a strategy family.
Platform() - Constructor for class org.opentestfactory.utils.shell.Platform
 
pluck(Function<T, A>) - Method in class org.opentestfactory.utils.ListOf
 
PosixPlatform - Class in org.opentestfactory.utils.shell
Platform used fully POSIX complient platforms.
PosixPlatform() - Constructor for class org.opentestfactory.utils.shell.PosixPlatform
 
prepareStatement(String) - Method in class org.opentestfactory.utils.shell.Platform
 
prepareStatement(String) - Method in class org.opentestfactory.utils.shell.PosixPlatform
 
prepareStatement(String) - Method in class org.opentestfactory.utils.shell.WindowsPlatform
 
ProcessHandle - Class in org.opentestfactory.utils.process
This class is a process handle.
ProcessHandle(Process) - Constructor for class org.opentestfactory.utils.process.ProcessHandle
Create a process handle without shutdown hook.
ProcessHandle(String, Process, boolean, boolean) - Constructor for class org.opentestfactory.utils.process.ProcessHandle
Create a process handle.
ProcessHandle(String, Process, boolean, boolean, boolean, int) - Constructor for class org.opentestfactory.utils.process.ProcessHandle
 
ProcessHandle(String, Process, boolean, boolean, int) - Constructor for class org.opentestfactory.utils.process.ProcessHandle
Create a process handle.
ProcessKiller - Class in org.opentestfactory.utils.process
Runnable task used as shutdown hook to kill stray processes...
ProcessKiller(Process) - Constructor for class org.opentestfactory.utils.process.ProcessKiller
 
ProcessLogger - Class in org.opentestfactory.utils.process
This class is intended to log stdout from external processes on demand.
ProcessLogger(String, Process) - Constructor for class org.opentestfactory.utils.process.ProcessLogger
Creates the stdout logger thread.
ProcessLogger(String, Process, OutputStream) - Constructor for class org.opentestfactory.utils.process.ProcessLogger
Creates the stdout logger thread.
ProcessStreamListener - Class in org.opentestfactory.utils.process
This class listens to a process output stream in a separate thread in order to get its output AND proceed on other treatments while the process is running.
ProcessStreamListener(Process, OutputStream) - Constructor for class org.opentestfactory.utils.process.ProcessStreamListener
 

R

requestStop() - Method in class org.opentestfactory.utils.process.StreamMuncher
 
requireNotBlank(String, String) - Static method in class org.opentestfactory.utils.ValidationUtils
 
requireNotEmpty(Collection<T>) - Static method in class org.opentestfactory.utils.ValidationUtils
 
requireNotEmpty(Collection<T>, String) - Static method in class org.opentestfactory.utils.ValidationUtils
 
returnValue() - Method in class org.opentestfactory.utils.process.ProcessHandle
 
run() - Method in class org.opentestfactory.utils.process.ProcessKiller
 
run() - Method in class org.opentestfactory.utils.process.ProcessStreamListener
 
run() - Method in class org.opentestfactory.utils.process.StreamMuncher
 
runLocalProcessCommand(String, File, Integer, Integer) - Method in class org.opentestfactory.utils.process.LocalProcessClient
This method execute a single command line on the local system.

S

SAXParseErrorHandler - Class in org.opentestfactory.utils.document
This class override default ErrorHandler for SAXParser to manage logs format in otf java services
SAXParseErrorHandler() - Constructor for class org.opentestfactory.utils.document.SAXParseErrorHandler
 
setEnvironmentVariable(String, String) - Method in class org.opentestfactory.utils.process.LocalProcessClient
Convenience method to set one variable.
setEnvironmentVariables(Map<String, String>) - Method in class org.opentestfactory.utils.process.LocalProcessClient
Method to set a bunch of environement variables.
setMaxSize(int) - Method in class org.opentestfactory.utils.AmnesicStringBuffer
 
ShellResult - Class in org.opentestfactory.utils.shell
Immutable data object to hold the result of a Shell command execution.
ShellResult(int, String, String, String) - Constructor for class org.opentestfactory.utils.shell.ShellResult
Constructor with complete initialization.
start() - Method in class org.opentestfactory.utils.process.ProcessStreamListener
 
start() - Method in class org.opentestfactory.utils.process.StreamMuncher
 
StreamMuncher - Class in org.opentestfactory.utils.process
This class is used to monitor streams.
StreamMuncher(String, InputStream, int) - Constructor for class org.opentestfactory.utils.process.StreamMuncher
 

T

toList() - Method in class org.opentestfactory.utils.ListOf
 
toString() - Method in class org.opentestfactory.utils.AmnesicStringBuffer
 
transform(String, String, String) - Method in class org.opentestfactory.utils.document.XmlReportTransformer
 

U

unsetEnvironementVariable(String) - Method in class org.opentestfactory.utils.process.LocalProcessClient
Convenience method to remove a single variable from the environment.
unsetEnvironmentVariables(Set<String>) - Method in class org.opentestfactory.utils.process.LocalProcessClient
Remove some variables from the run environement.
UrlUtils - Class in org.opentestfactory.utils
 

V

ValidationUtils - Class in org.opentestfactory.utils
 
valueOf(String) - Static method in enum class org.opentestfactory.utils.shell.OutputStream
Returns the enum constant of this class with the specified name.
values() - Static method in enum class org.opentestfactory.utils.shell.OutputStream
Returns an array containing the constants of this enum class, in the order they are declared.

W

warning(SAXParseException) - Method in class org.opentestfactory.utils.document.SAXParseErrorHandler
 
WindowsPlatform - Class in org.opentestfactory.utils.shell
Platform implementation used in windows.
WindowsPlatform() - Constructor for class org.opentestfactory.utils.shell.WindowsPlatform
 

X

XmlReportTransformer - Class in org.opentestfactory.utils.document
This class contains methods that will transform a given name xml report file into another file through xsl transformation.
XmlReportTransformer(String) - Constructor for class org.opentestfactory.utils.document.XmlReportTransformer
 
XmlTransformationException - Exception Class in org.opentestfactory.utils.document
 
XmlTransformationException(String, Throwable) - Constructor for exception class org.opentestfactory.utils.document.XmlTransformationException
 
A C D E F G H I K L M N O P R S T U V W X 
All Classes and Interfaces|All Packages|Serialized Form