Interface OperatingSystem
- All Superinterfaces:
Named
A machine operating system.
| Operating System | Aliases |
|---|---|
| Windows | "windows" |
| GNU/Linux | "linux" |
| MacOS | "osx", "mac os x", "darwin" |
| Solaris | "solaris", "sunos" |
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.gradle.api.Named
Named.Namer -
Method Summary
-
Method Details
-
getName
Description copied from interface:NamedThe object's name.Must be constant for the life of the object.
-
getDisplayName
Returns a human-consumable display name for this operating system. -
isCurrent
Is this the current OS? -
isWindows
Is it Windows? -
isMacOsX
Is it macOS? -
isLinux
Is it Linux? -
isSolaris
Is it Solaris? -
isFreeBSD
Is it FreeBSD?
-