org.drools.semantics.annotation.examples.helloworld
Class GoodbyeRule

java.lang.Object
  extended by org.drools.semantics.annotation.examples.helloworld.GoodbyeRule

public class GoodbyeRule
extends java.lang.Object

 

Constructor Summary
GoodbyeRule()
           
 
Method Summary
 boolean condition(java.lang.String goodbye)
           
 void consequence(java.lang.String goodbye)
           
 void setMessagePrinter(org.drools.semantics.annotation.examples.helloworld.MessagePrinter messagePrinter)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GoodbyeRule

public GoodbyeRule()
Method Detail

setMessagePrinter

public void setMessagePrinter(org.drools.semantics.annotation.examples.helloworld.MessagePrinter messagePrinter)

condition

public boolean condition(java.lang.String goodbye)

consequence

public void consequence(java.lang.String goodbye)