Named
@Incubating public abstract class OperatingSystemFamily extends Object implements Named
Named.Namer
Modifier and Type | Field | Description |
---|---|---|
static String |
LINUX |
The Linux operating system family.
|
static String |
MACOS |
The macOS operating system family.
|
static Attribute<OperatingSystemFamily> |
OPERATING_SYSTEM_ATTRIBUTE |
|
static String |
WINDOWS |
The Windows operating system family.
|
Constructor | Description |
---|---|
OperatingSystemFamily() |
Modifier and Type | Method | Description |
---|---|---|
abstract String |
getName() |
The object's name.
|
boolean |
isLinux() |
Is this the Linux operating system family?
|
boolean |
isMacOs() |
Is this the macOS operating system family?
|
boolean |
isWindows() |
Is this the Windows operating system family?
|
public static final Attribute<OperatingSystemFamily> OPERATING_SYSTEM_ATTRIBUTE
public static final String WINDOWS
public static final String LINUX
public static final String MACOS
@Input public abstract String getName()
Must be constant for the life of the object.
public boolean isWindows()
public boolean isLinux()
public boolean isMacOs()