Class ScopesAgendaFilter

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

    public class ScopesAgendaFilter
    extends Object
    implements org.kie.api.runtime.rule.AgendaFilter
    • Constructor Detail

      • ScopesAgendaFilter

        public ScopesAgendaFilter​(boolean acceptEmpty,
                                  Collection<String> scopes)
        Parameters:
        acceptEmpty - true accepts rules that do not have scope set.
        scopes - Valid scope values.
      • ScopesAgendaFilter

        public ScopesAgendaFilter​(boolean acceptEmpty,
                                  String scope)
    • Method Detail

      • accept

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