Class AbstractQuickFilterRuleType

    • Constructor Detail

      • AbstractQuickFilterRuleType

        protected AbstractQuickFilterRuleType​(@NotNull
                                              @NotNull TemplateRenderer templateRenderer)
    • Method Detail

      • populateContextForEdit

        protected abstract void populateContextForEdit​(@NotNull
                                                       @NotNull Map<String,​Object> configuration,
                                                       @NotNull
                                                       @NotNull Map<String,​Object> context)
        Populate edit HTML template's context. Will be used in getEditHtml(Map).
        Parameters:
        configuration - rule configuration; the values may only be strings or lists of strings
        context - initial template's context, might be empty; values may be of any type
      • getEditHtml

        @Nullable
        public @Nullable String getEditHtml​(@NotNull
                                            @NotNull Map<String,​Object> configuration)
        Description copied from interface: QuickFilterRuleType
        Get rendered HTML snippet for editing configuration of this rule type. Return null if this rule doesn't require configuration by user.
        Specified by:
        getEditHtml in interface QuickFilterRuleType
        Parameters:
        configuration - configuration of this rule, might be empty (but still non null) on initial call; the values may only be strings or lists of strings