Enum ELicenseFeature

    • Method Detail

      • values

        public static ELicenseFeature[] 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 (ELicenseFeature c : ELicenseFeature.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ELicenseFeature valueOf​(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getFeatureName

        public String getFeatureName()
      • getFeatureClass

        public Class<?> getFeatureClass()
      • getDisplayName

        public String getDisplayName​(Locale l)
        Description copied from interface: INamedUiElement
        The display name of this element in the given locale.
        Specified by:
        getDisplayName in interface INamedUiElement
        Parameters:
        l - The locale to get the display name for.
        Returns:
        The display name of this element in the given locale.
      • checkLicense

        public boolean checkLicense​(LicenseAccess licenseAccess)
        Determines whether this license feature needs to be checked given the license context (LicenseAccess).
        Parameters:
        licenseAccess - represents the license context and whether it needs to be checked.
        Returns:
        true if this license feature needs to be checked for the given license context (LicenseAccess) and false otherwise.