Package org.gradle.jvm.toolchain
Class JvmVendorSpec
java.lang.Object
org.gradle.jvm.toolchain.JvmVendorSpec
Represents a filter for a vendor of a Java Virtual Machine implementation.
- Since:
- 6.8
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JvmVendorSpec
A constant for using Eclipse Adoptium as the JVM vendor.static final JvmVendorSpec
static final JvmVendorSpec
static final JvmVendorSpec
static final JvmVendorSpec
static final JvmVendorSpec
static final JvmVendorSpec
A constant for using GraalVM as the JVM vendor.static final JvmVendorSpec
static final JvmVendorSpec
static final JvmVendorSpec
Deprecated.static final JvmVendorSpec
A constant for using JetBrains Runtime as the JVM vendor.static final JvmVendorSpec
A constant for using Microsoft OpenJDK as the JVM vendor.static final JvmVendorSpec
static final JvmVendorSpec
static final JvmVendorSpec
A constant for using Tencent Kona JDK as the JVM vendor. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract boolean
Determines if the vendor passed as an argument matches this spec.static JvmVendorSpec
Returns a vendor spec that matches a VM by its vendor.
-
Field Details
-
ADOPTIUM
A constant for using Eclipse Adoptium as the JVM vendor.- Since:
- 7.4
-
ADOPTOPENJDK
-
AMAZON
-
APPLE
-
AZUL
-
BELLSOFT
-
GRAAL_VM
A constant for using GraalVM as the JVM vendor.- Since:
- 7.1
-
HEWLETT_PACKARD
-
IBM
-
IBM_SEMERU
Deprecated.We are grouping all IBM runtimes under the 'IBM
' vendor, won't keep a separate constant for Semeru ones. Just use 'IBM
' instead.A constant for using IBM Semeru Runtimes as the JVM vendor.- Since:
- 7.4
-
JETBRAINS
A constant for using JetBrains Runtime as the JVM vendor.- Since:
- 8.4
-
MICROSOFT
A constant for using Microsoft OpenJDK as the JVM vendor.- Since:
- 7.3
-
ORACLE
-
SAP
-
TENCENT
A constant for using Tencent Kona JDK as the JVM vendor.- Since:
- 8.6
-
-
Constructor Details
-
JvmVendorSpec
public JvmVendorSpec()
-
-
Method Details
-
matches
Determines if the vendor passed as an argument matches this spec.- Parameters:
vendor
- the vendor to test- Returns:
- true if this spec matches the vendor
- Since:
- 7.6
-
matching
Returns a vendor spec that matches a VM by its vendor.A VM is determined eligible if the system property
java.vendor
contains the given match string. The comparison is done case-insensitive.- Parameters:
match
- the sequence to search for- Returns:
- a new filter object
-
IBM
' vendor, won't keep a separate constant for Semeru ones.