| 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 PlayerCommand |
PlayerCommandFactory.createPlayer(OperatingSystem os,
String player,
File customCommand,
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.
|
| Modifier and Type | Method and Description |
|---|---|
OperatingSystem |
TestRunConfiguration.getOs() |
Copyright © 2020 The Apache Software Foundation. All rights reserved.