@Incubating public interface OperatingSystem extends Named
Operating System | Aliases |
---|---|
Windows | "windows" |
GNU/Linux | "linux" |
Mac OS X | "osx", "mac os x", "darwin" |
Solaris | "solaris", "sunos" |
Named.Namer
Modifier and Type | Method and Description |
---|---|
String |
getDisplayName()
Returns a human-consumable display name for this operating system.
|
boolean |
isCurrent()
Is this the current OS?
|
boolean |
isFreeBSD()
Is it FreeBSD?
|
boolean |
isLinux()
Is it Linux?
|
boolean |
isMacOsX()
Is it Mac OS X?
|
boolean |
isSolaris()
Is it Solaris?
|
boolean |
isWindows()
Is it Windows?
|
String getDisplayName()
boolean isCurrent()
boolean isWindows()
boolean isMacOsX()
boolean isLinux()
boolean isSolaris()
boolean isFreeBSD()