org.drools.examples.petstore
Class CheckoutCallback

java.lang.Object
  extended byorg.drools.examples.petstore.CheckoutCallback

public class CheckoutCallback
extends java.lang.Object

 

Constructor Summary
CheckoutCallback(RuleBase ruleBase)
           
 
Method Summary
 java.lang.String checkout(javax.swing.JFrame frame, java.util.List items)
          Populate the cart and assert into working memory Pass Jframe reference for user interaction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CheckoutCallback

public CheckoutCallback(RuleBase ruleBase)
Method Detail

checkout

public java.lang.String checkout(javax.swing.JFrame frame,
                                 java.util.List items)
                          throws FactException
Populate the cart and assert into working memory Pass Jframe reference for user interaction

Throws:
FactException
Parameters:
frame -
items -
Returns:
cart.toString();