public class ExecutionContextFactory extends Object
| Constructor and Description |
|---|
ExecutionContextFactory() |
| Modifier and Type | Method and Description |
|---|---|
static ExecutionContext |
createContext(OperatingSystem os,
boolean headless,
int display)
Used to generate new instances of an execution context based on the OS and whether the build should run
headlessly.
|
static ExecutionContext |
createContext(TestRunCommand command,
OperatingSystem os,
boolean headless,
int display)
Used to generate new instances of an execution context based on the test
run command, the OS, and whether the build should run headlessly.
|
public static ExecutionContext createContext(OperatingSystem os, boolean headless, int display)
os - Current OS.headless - Should the build run headlessly.display - The vnc display number to use if headlesspublic static ExecutionContext createContext(TestRunCommand command, OperatingSystem os, boolean headless, int display)
os - Current OS.headless - Should the build run headlessly.display - The vnc display number to use if headlesscommand - The test run command the context is forCopyright © 2023 The Apache Software Foundation. All rights reserved.