Business Rule Language

ilog.rules.studio.model.brl.languages

JRules 6.0

Allows plug-ins to integrate a new Business Rule language into Rule Studio. Extensions to this extension point should provide a definition which is the symbolic name of the language in Rule Studio, a Language Extension class whose class loader is used to load the schema files of the language, a label used in User Interface to display the language. The definition is referenced by a dedicated Rule class, inheriting from ilog.rules.studio.model.brl.IlrBRLRule and added in the Rule Model extension files. The rule class referenced the language definition using the 'language' property.

<!ELEMENT extension (language*)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT language EMPTY>

<!ATTLIST language

id         CDATA #REQUIRED

definition CDATA #REQUIRED

label      CDATA #IMPLIED

class      CDATA #REQUIRED

public     (true | false) >


The extension must reference the relative path of the language XSD grammar file, as well as the language class. Integrating a new business rule language also requires defining a extended class of IlrBRLRule in the rule model. This extended class must define an annotation named ilog.rules.studio.model.brl whose value is the definition of the language specified in the definition field of this extension.