Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- addEnvironmentProperty(String, String) - Method in class org.wildfly.qa.tooling.processexecution.ObservableOutputStreamsProcess.Builder
-
Add an environment property to command execution
- addErrorOutputObserver(ProcessOutputObserver) - Method in class org.wildfly.qa.tooling.processexecution.ObservableOutputStreamsProcess.Builder
-
Add observer to the stderr of the process.
- addInteractiveProcessOutputObserver(InteractiveOutputObserver) - Method in class org.wildfly.qa.tooling.processexecution.ObservableOutputStreamsProcess.Builder
-
Add interactive observer to process.
- addProcessControlObserver(ProcessControlObserver) - Method in class org.wildfly.qa.tooling.processexecution.ObservableOutputStreamsProcess.Builder
-
Add process control observer to process.
- addProcessOutputObserver(ProcessOutputObserver) - Method in class org.wildfly.qa.tooling.processexecution.ObservableOutputStreamsProcess.Builder
-
Add observer to the stdout of the process.
B
- BootableJarProcess - Class in org.wildfly.qa.tooling.processexecution
-
Abstraction over bootable JAR server process.
- BootableJarProcess(Path) - Constructor for class org.wildfly.qa.tooling.processexecution.BootableJarProcess
-
Create a new instance of bootable JAR process with default timeout of 5 minutes.
- BootableJarProcess(Path, long, TimeUnit) - Constructor for class org.wildfly.qa.tooling.processexecution.BootableJarProcess
-
Create a new instance of bootable JAR process with custom timeout.
- BootableJarProcess(Path, long, TimeUnit, OnlineOptions) - Constructor for class org.wildfly.qa.tooling.processexecution.BootableJarProcess
-
Create a new instance of bootable JAR process with custom timeout and online options.
- build() - Method in class org.wildfly.qa.tooling.processexecution.ObservableOutputStreamsProcess.Builder
-
Compose new instance of ObservableOutputStreamsProcess
- Builder(CommandLine) - Constructor for class org.wildfly.qa.tooling.processexecution.ObservableOutputStreamsProcess.Builder
-
Create builder for ObservableOutputStreamsProcess.
- Builder(CommandLine, long, TimeUnit) - Constructor for class org.wildfly.qa.tooling.processexecution.ObservableOutputStreamsProcess.Builder
-
Creates builder for ObservableOutputStreamsProcess and allows to set custom timeout in which the process is expected to end.
D
- DomainServerProcess - Class in org.wildfly.qa.tooling.processexecution
-
Abstraction over server domain process - starting the process, executing a runnable in the right moment and destroying it.
- DomainServerProcess(CommandLine, long, TimeUnit, int, String) - Constructor for class org.wildfly.qa.tooling.processexecution.DomainServerProcess
-
Create a new instance of server process.
I
- InteractiveOutputObserver - Interface in org.wildfly.qa.tooling.processexecution
-
Implementations of this interface are able to print some text to stdin of processes handled by ObservableOutputStreamsProcess class.
- invoke() - Method in class org.wildfly.qa.tooling.processexecution.ObservableOutputStreamsProcess
-
Invoke the process execution Note: Obtaining result code on Windows is almost impossible so the check on return code should not be done there
J
- JarCommandLine - Class in org.wildfly.qa.tooling.processexecution
-
CommandLine abstraction for executing JAR files.
- JarCommandLine(Path) - Constructor for class org.wildfly.qa.tooling.processexecution.JarCommandLine
-
Create a new JarCommandLine with default java binary from java.home system property.
- JarCommandLine(Path, Path) - Constructor for class org.wildfly.qa.tooling.processexecution.JarCommandLine
-
Create a new JarCommandLine with custom java binary and JAR file.
L
- lineEndDelimiter(Pattern) - Method in class org.wildfly.qa.tooling.processexecution.ObservableOutputStreamsProcess.Builder
-
Set a pattern used to determine end of line in the process output
O
- ObservableOutputStreamsProcess - Class in org.wildfly.qa.tooling.processexecution
-
Invoke a command line and make output streams observable.
- ObservableOutputStreamsProcess.Builder - Class in org.wildfly.qa.tooling.processexecution
-
Builder for ObservableOutputStreamsProcess
- observe(String) - Method in interface org.wildfly.qa.tooling.processexecution.ProcessOutputObserver
-
Observe a line from an output.
- observeInteractively(String, OutputStream) - Method in interface org.wildfly.qa.tooling.processexecution.InteractiveOutputObserver
-
Observe a line from a process and optionally use its output stream
- observeWithProcessControl(String, Process) - Method in interface org.wildfly.qa.tooling.processexecution.ProcessControlObserver
-
Observe new line printed by process
- org.wildfly.qa.tooling.processexecution - package org.wildfly.qa.tooling.processexecution
P
- ProcessControlObserver - Interface in org.wildfly.qa.tooling.processexecution
-
An interface describing process observer which has capability to access whole process, thus control it.
- ProcessExecutionProperties - Class in org.wildfly.qa.tooling.processexecution
-
Centralized access to system properties used by tooling-process-execution.
- ProcessOutputObserver - Interface in org.wildfly.qa.tooling.processexecution
-
Implementations of this interface are able to handle output of processes.
R
- run(OnlineManagementClient) - Method in interface org.wildfly.qa.tooling.processexecution.ServerProcess.ServerRunnable
-
Run a code with started server.
- runAfterDeploymentCompletedAndDestroyProcess(String, ServerProcess.ServerRunnable) - Method in class org.wildfly.qa.tooling.processexecution.ServerProcess
-
Start a server and run a runnable after the deployment was deployed.
- runAfterServerStartedAndDestroyProcess(ServerProcess.ServerRunnable) - Method in class org.wildfly.qa.tooling.processexecution.ServerProcess
-
Start a server and run a runnable after the server started.
- runWhenClientConnectsAndDestroyProcess(ServerProcess.ServerRunnable) - Method in class org.wildfly.qa.tooling.processexecution.ServerProcess
-
Start a server and run a runnable after the deployment was deployed and client connected.
S
- SERVER_PROCESS_TIMEOUT_MINUTES - Static variable in class org.wildfly.qa.tooling.processexecution.ProcessExecutionProperties
-
Server process timeout in minutes.
- ServerProcess - Class in org.wildfly.qa.tooling.processexecution
-
Abstraction over server process - starting the process, executing a runnable in the right moment and destroying it.
- ServerProcess(CommandLine) - Constructor for class org.wildfly.qa.tooling.processexecution.ServerProcess
-
Create a new instance of server process.
- ServerProcess(CommandLine, long, TimeUnit) - Constructor for class org.wildfly.qa.tooling.processexecution.ServerProcess
-
Create a new instance of server process.
- ServerProcess(CommandLine, long, TimeUnit, OnlineOptions) - Constructor for class org.wildfly.qa.tooling.processexecution.ServerProcess
-
Create a new instance of server process.
- ServerProcess.ServerRunnable - Interface in org.wildfly.qa.tooling.processexecution
-
Functional interface encapsulating method which code runs upon satisfaction of a condition
- serverProcessTimeoutMinutes() - Static method in class org.wildfly.qa.tooling.processexecution.ProcessExecutionProperties
-
Get the server process timeout in minutes.
- ServerRunnableExecutionException - Exception Class in org.wildfly.qa.tooling.processexecution
-
Exception denoting issues when running a runnable with an observed process
- ServerRunnableExecutionException(String) - Constructor for exception class org.wildfly.qa.tooling.processexecution.ServerRunnableExecutionException
- ServerRunnableExecutionException(String, Throwable) - Constructor for exception class org.wildfly.qa.tooling.processexecution.ServerRunnableExecutionException
- ServerRunnableExecutionException(String, Throwable, boolean, boolean) - Constructor for exception class org.wildfly.qa.tooling.processexecution.ServerRunnableExecutionException
- ServerRunnableExecutionException(Throwable) - Constructor for exception class org.wildfly.qa.tooling.processexecution.ServerRunnableExecutionException
- ShCommandLine - Class in org.wildfly.qa.tooling.processexecution
-
A boilerplate for making the shell script center of rotation, so we don't have to specify binary each time.
- ShCommandLine(Path) - Constructor for class org.wildfly.qa.tooling.processexecution.ShCommandLine
-
Create new instance
W
- withTimeout(long, TimeUnit) - Method in class org.wildfly.qa.tooling.processexecution.ObservableOutputStreamsProcess.Builder
-
Set timeout for process.
- workDirectory(Path) - Method in class org.wildfly.qa.tooling.processexecution.ObservableOutputStreamsProcess.Builder
-
A work directory in which the execution will be done
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form