[rules-users] Importing Rules as Object into KnowledgeBuilder
Bojan Janisch
bojan.janisch at scai.fraunhofer.de
Fri Apr 19 05:06:55 EDT 2013
Thx for the fast reply Wolfgang,
but it is not very helpful. Maybe I should have asked another way to get it clearer. Is there a way in Drools to represent a rule in another way than file, string, bytearray or even a compiled form? For example: I want to create a syntaxtree for rules, but I don't know how to import the tree (which simple represents a specific rule) into the KnowledgeBuilder. So is there a way how to import this object into the Builder or (if it is not possible yet) which Interface do I have to use, to write an API between the Tree and the KnowledgeBuilder?
Greetings
Bojan
----- Ursprüngliche Mail -----
Von: "Wolfgang Laun" <wolfgang.laun at gmail.com>
An: "Rules Users List" <rules-users at lists.jboss.org>
Gesendet: Freitag, 19. April 2013 10:49:15
Betreff: Re: [rules-users] Importing Rules as Object into KnowledgeBuilder
On 19/04/2013, Bojan Janisch <bojan.janisch at scai.fraunhofer.de> wrote:
> Hello everyone,
>
> is there a way to import Rules as Objects
java.lang.Object? Anything is an Object.
You can add rules in a KnowledgePackage compiled earlier and serialized.
-W
> into the Knowledgebase? So far
> I've seen, Drools supports only Bytearray, Files and InputStream as Rule
> Resources.
>
> Greetings
> Bojan
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
_______________________________________________
rules-users mailing list
rules-users at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
More information about the rules-users
mailing list