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 SummaryNested classes/interfaces inherited from interface org.gradle.api.NamedNamed.Namer
- 
Method Summary
- 
Method Details- 
getNameDescription copied from interface:NamedThe object's name.Must be constant for the life of the object. 
- 
getDisplayNameReturns a human-consumable display name for this operating system.
- 
isCurrentIs this the current OS?
- 
isWindowsIs it Windows?
- 
isMacOsXIs it macOS?
- 
isLinuxIs it Linux?
- 
isSolarisIs it Solaris?
- 
isFreeBSDIs it FreeBSD?
 
-