| Modifier and Type | Method and Description |
|---|---|
static OperatingSystem |
OperatingSystem.identify()
Searches for Windows and Mac specificially and if not found defaults to Linux.
|
static OperatingSystem |
OperatingSystem.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OperatingSystem[] |
OperatingSystem.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static TestRunCommand |
TestRunCommandFactory.createCommand(OperatingSystem os,
String player,
File customCommand,
String[] customCommandArgs,
boolean localTrusted)
Factory method to create the appropriate player and provide it with a set of defaults for
the executing platform.
|
| Modifier and Type | Method and Description |
|---|---|
static ProcessCommand |
PlayerCommandFactory.createPlayer(OperatingSystem os,
String player,
File customCommand,
String[] customCommandArgs,
boolean localTrusted)
Factory method to create the appropriate player and provide it with a set of defaults for
the executing platform.
|
| Modifier and Type | Method and Description |
|---|---|
static ExecutionContext |
ExecutionContextFactory.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 |
ExecutionContextFactory.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.
|
| Modifier and Type | Method and Description |
|---|---|
OperatingSystem |
TestRunConfiguration.getOs() |
Copyright © 2023 The Apache Software Foundation. All rights reserved.