public static class PetStoreExample.CheckoutCallback extends Object
| Constructor and Description |
|---|
CheckoutCallback(org.kie.api.runtime.KieContainer kcontainer) |
| Modifier and Type | Method and Description |
|---|---|
String |
checkout(JFrame frame,
List<PetStoreExample.Product> items)
Populate the cart and assert into working memory Pass Jframe reference
for user interaction
|
void |
setOutput(JTextArea output) |
public CheckoutCallback(org.kie.api.runtime.KieContainer kcontainer)
public void setOutput(JTextArea output)
public String checkout(JFrame frame, List<PetStoreExample.Product> items)
frame - items - Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.