]
Geoffrey De Smet resolved JBRULES-2784.
---------------------------------------
Assignee: Edson Tirelli (was: Mark Proctor)
Fix Version/s: 5.3.0.Beta1
(was: 5.3.0.CR1)
Resolution: Done
Davide Sottara says this is fixed by Edson and him.
Use java-style annotations for metadata
----------------------------------------
Key: JBRULES-2784
URL:
https://issues.jboss.org/browse/JBRULES-2784
Project: Drools
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: drools-compiler
Affects Versions: 5.2.0.M1
Reporter: Davide Sottara
Assignee: Edson Tirelli
Priority: Trivial
Labels: drl, metadata
Fix For: 5.3.0.Beta1
Drools Metadata, allowed in rules and bean declarations, are conceptually similar to java
annotations, but the actual structure is different: Drools is free-form, while Java uses
(optional) key - element pairs:
Drools : @attr( <free text here> )
Java : @attr( key1 = value1, key2 ... )
I suggest the use of Java-like annotations in place of free-form meta-attributes.
Compatibility with official metadata (e.g. event definition) will be guaranteed.
Could break compatibility if a user defined and used their own metadata in the code, as
some constructs like @author(john doe) will no longer be accepted, even if
@author("john doe"), @author(john, doe) or @author(name="john doe")
will.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: