Enum UIExtensionFilterType

    • Enum Constant Detail

      • MANDATORY

        public static final UIExtensionFilterType MANDATORY
        This type of filter will be used to know if the action related to the extension can be launched and to know if the component related to the extension can be added to the webui tree The filter is required to launch the action and to add the component related to the extension to the webui tree. If it succeeds, we will check the other filters. If it fails, we will stop.
      • REQUISITE

        public static final UIExtensionFilterType REQUISITE
        This type of filter will be used to know if the action related to the extension can be launched. The filter is required to launch the action. to the webui tree. If it succeeds, we will check the other filters. If it fails, we will stop.
      • REQUIRED

        public static final UIExtensionFilterType REQUIRED
        This type of filter will only be used to know if the action related to the extension can be launched. The filter is required to launch the action. If it succeeds or fails, we will check the other filters. It can be used to add warnings
      • OPTIONAL

        public static final UIExtensionFilterType OPTIONAL
        This type of filter will only be used to know if the action related to the extension can be launched. The filter is not required to launch the action. If it succeeds or fails, we will check the other filters. It can be used for auditing purpose
    • Method Detail

      • values

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

        public static UIExtensionFilterType 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
      • showExtensionOnlyIfOK

        public boolean showExtensionOnlyIfOK()
        Indicates if the filter allows to display the extension if it fails
      • checkOtherFiltersOnlyIfOK

        public boolean checkOtherFiltersOnlyIfOK()
        Indicates if the other filters can be checked if it fails
      • acceptOnlyIfOK

        public boolean acceptOnlyIfOK()
        Indicates if the filter allows to continue if it fails