Named@Incubating public interface OperatingSystem extends Named
| Operating System | Aliases |
|---|---|
| Windows | "windows" |
| GNU/Linux | "linux" |
| MacOS | "osx", "mac os x", "darwin" |
| Solaris | "solaris", "sunos" |
Named.Namer| Modifier and Type | Method | Description |
|---|---|---|
String |
getDisplayName() |
Returns a human-consumable display name for this operating system.
|
String |
getName() |
The object's name.
|
boolean |
isCurrent() |
Is this the current OS?
|
boolean |
isFreeBSD() |
Is it FreeBSD?
|
boolean |
isLinux() |
Is it Linux?
|
boolean |
isMacOsX() |
Is it macOS?
|
boolean |
isSolaris() |
Is it Solaris?
|
boolean |
isWindows() |
Is it Windows?
|
@Input String getName()
NamedMust be constant for the life of the object.
@Internal String getDisplayName()
@Internal boolean isCurrent()
@Internal boolean isWindows()
@Internal boolean isMacOsX()
@Internal boolean isLinux()
@Internal boolean isSolaris()
@Internal boolean isFreeBSD()