@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.
|
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 Mac OS X?
|
boolean |
isSolaris()
Is it Solaris?
|
boolean |
isWindows()
Is it Windows?
|
@Input String getName()
Named
Must 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()