Package org.gradle.nativeplatform
Klasse OperatingSystemFamily
java.lang.Object
org.gradle.nativeplatform.OperatingSystemFamily
- Alle implementierten Schnittstellen:
Named
Represents the operating system of a configuration. Typical operating system include Windows, Linux, and macOS.
This interface allows the user to customize operating systems by implementing this interface.
- Seit:
- 5.1
-
Verschachtelte Klassen - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.gradle.api.Named
Named.Namer -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final StringThe Linux operating system family.static final StringThe macOS operating system family.static final Attribute<OperatingSystemFamily> static final StringThe Windows operating system family. -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
-
Felddetails
-
OPERATING_SYSTEM_ATTRIBUTE
-
WINDOWS
The Windows operating system family.- Siehe auch:
-
LINUX
The Linux operating system family.- Siehe auch:
-
MACOS
The macOS operating system family.- Siehe auch:
-
-
Konstruktordetails
-
OperatingSystemFamily
public OperatingSystemFamily()
-
-
Methodendetails
-
getName
The object's name.Must be constant for the life of the object.
-
isWindows
public boolean isWindows()Is this the Windows operating system family? -
isLinux
public boolean isLinux()Is this the Linux operating system family? -
isMacOs
public boolean isMacOs()Is this the macOS operating system family?
-