[jboss-jira] [JBoss JIRA] (DROOLS-4895) Backport RuleUnitComponentFactory#createRuleUnitDescription( KiePackage, String );

Edoardo Vacchi (Jira) issues at jboss.org
Mon Jan 13 08:06:02 EST 2020


     [ https://issues.redhat.com/browse/DROOLS-4895?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Edoardo Vacchi updated DROOLS-4895:
-----------------------------------
    Sprint: 2020 Week 01-03 (from Dec 30)  (was: 2020 Week 04-06 (from Jan 20))


> Backport RuleUnitComponentFactory#createRuleUnitDescription( KiePackage, String );
> ----------------------------------------------------------------------------------
>
>                 Key: DROOLS-4895
>                 URL: https://issues.redhat.com/browse/DROOLS-4895
>             Project: Drools
>          Issue Type: Bug
>            Reporter: Edoardo Vacchi
>            Assignee: Edoardo Vacchi
>            Priority: Major
>              Labels: drools-core
>
> add {{RuleUnitDescription createRuleUnitDescription( KiePackage pkg, String ruleUnitSimpleName );}} it should be a no-op because it is only used in Kogito
> also {{RuleUnitDescriptionLoader}} may use this method in case {{createRuleUnitDescription( KiePackage pkg, Class<?> ruleUnit );} fails. However, this cannot happen in Drools 7, as the RuleUnit is always described by a Class, so it will always return null (it's a no-op after all). Reasons for backport are only code alignment.



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jboss-jira mailing list