Class JvmVendorSpec


  • public abstract class JvmVendorSpec
    extends java.lang.Object
    Represents a filter for a vendor of a Java Virtual Machine implementation.
    Since:
    6.8
    • Constructor Detail

      • JvmVendorSpec

        public JvmVendorSpec()
    • Method Detail

      • matches

        @Incubating
        public abstract boolean matches​(java.lang.String vendor)
        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

        public static JvmVendorSpec matching​(java.lang.String match)
        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