Este contenido no está disponible en el idioma seleccionado.
19.4. HelloWorld Example: Execution
- A single
Messageobject is created with the message text "Hello World" and the statusHELLOand then inserted into the engine, at which pointfireAllRules()is executed. - All network evaluation is done during the insert time. By the time the program execution reaches the
fireAllRules()method call the engine already knows which rules are fully matches and able to fire.
Note
To execute the example as a Java application:
- Open the class
org.drools.examples.helloworld.HelloWorldExamplein your Eclipse IDE. - Right-click the class and select
Run as...and thenJava application