[jboss-jira] [JBoss JIRA] Commented: (JBRULES-1020) BRMS Custom Rule Selector for Creating Deployable Packages
Michael Neale (JIRA)
jira-events at lists.jboss.org
Thu Aug 16 03:42:01 EDT 2007
[ http://jira.jboss.com/jira/browse/JBRULES-1020?page=comments#action_12372463 ]
Michael Neale commented on JBRULES-1020:
----------------------------------------
OK I think I have a general simple solution:
When building a package, we have a choice to either build the lot, or enter a custom selector criteria (which may be either a SQL style predicate - or an EL expression - haven't decided yet). There can be some buttons to create some sample ones for the common cases.
however, this does NOT remember any past selectors as entered (only the browser memory will) - but I can't see a way around that unless we create another place to store these "preferences" or selectors for running again at a future time (which seems overkill).
That or we can allow admins to configure a properties file with a fixed list of selectors to choose from - which option sounds better?
> BRMS Custom Rule Selector for Creating Deployable Packages
> ----------------------------------------------------------
>
> Key: JBRULES-1020
> URL: http://jira.jboss.com/jira/browse/JBRULES-1020
> Project: JBoss Rules
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: drools-brms
> Environment: general
> Reporter: Barry Knapp
> Assigned To: Michael Neale
> Fix For: 4.0.1
>
>
> Use Case : Ability to include or exclude rules in a deployable package based on rule meta data or custom rule attributes.
> Add an extension point to the BRMS for deciding which rules should be included in a deployable package.
> A CustomSelector interface with an boolean accepts(Rule) method would allow implementors to create a class and implement the accepts method. The custom method could then analyze the rule to determine if the rule should be included in the package being generated by return true for inclusion. A property file with CustomExtractor=com...implementing class would allow the implementor to inject their CustomSelector class.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list