Package org.drools.examples.petstore
Class PetStoreExample
- java.lang.Object
-
- org.drools.examples.petstore.PetStoreExample
-
public class PetStoreExample extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPetStoreExample.CheckoutCallbackThis callback is called when the user pressed the checkout button.static classPetStoreExample.Orderstatic classPetStoreExample.PetStoreUIThis swing UI is used to create a simple shopping cart to allow a user to add and remove items from a shopping cart before doign a checkout upon doing a checkout a callback is used to allow drools interaction with the shopping cart ui.static classPetStoreExample.Productstatic classPetStoreExample.Purchase
-
Constructor Summary
Constructors Constructor Description PetStoreExample()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinit(org.kie.api.runtime.KieContainer kc, boolean exitOnClose)static voidmain(String[] args)
-
-
-
Method Detail
-
main
public static void main(String[] args)
-
init
public void init(org.kie.api.runtime.KieContainer kc, boolean exitOnClose)
-
-