Enum EnvProps.ClientCapability

    • Field Detail

      • textID

        public final java.lang.String textID
        Locale text ID: "devcap." + {@link #name()}.
      • description

        public final java.lang.String description
        The English description.
    • Method Detail

      • values

        public static EnvProps.ClientCapability[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (EnvProps.ClientCapability c : EnvProps.ClientCapability.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static EnvProps.ClientCapability valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getEnglishDescription

        public final java.lang.String getEnglishDescription()
        Gets the English description.
        Returns:
        The English description.
      • getLocalizedDescription

        public final java.lang.String getLocalizedDescription()
        Gets the localized description.
        Returns:
        The localized description, if any, otherwise the English description.
      • isSupported

        public final boolean isSupported​(EnvProps env)
        Returns if supported.
        Parameters:
        env - The environment instance.
        Returns:
        The supported flag. In case of exception, these are logged as warnings and false is returned.