Class RuleNameEndsWithAgendaFilter

  • All Implemented Interfaces:
    Serializable, org.kie.api.runtime.rule.AgendaFilter

    public class RuleNameEndsWithAgendaFilter
    extends Object
    implements org.kie.api.runtime.rule.AgendaFilter, Serializable
    Filters activations based on a specified rule name suffix.
    See Also:
    Serialized Form
    • Constructor Detail

      • RuleNameEndsWithAgendaFilter

        public RuleNameEndsWithAgendaFilter()
      • RuleNameEndsWithAgendaFilter

        public RuleNameEndsWithAgendaFilter​(String suffix)
      • RuleNameEndsWithAgendaFilter

        public RuleNameEndsWithAgendaFilter​(String suffix,
                                            boolean accept)
    • Method Detail

      • getSuffix

        public String getSuffix()
      • isAccept

        public boolean isAccept()
      • setSuffix

        public void setSuffix​(String suffix)
      • setAccept

        public void setAccept​(boolean accept)
      • accept

        public boolean accept​(org.kie.api.runtime.rule.Match activation)
        Specified by:
        accept in interface org.kie.api.runtime.rule.AgendaFilter