Class PricingRuleTemplateExample
- java.lang.Object
-
- org.drools.examples.decisiontable.PricingRuleTemplateExample
-
public class PricingRuleTemplateExample extends Object
This shows off a rule template where the data provider is a spreadsheet. This example uses the same spreadsheet as the Decision table example (PricingRuleDTExample) so that you can see the difference between the two. Note that even though they use the same spreadsheet, this example is just concerned with the data cells and does not use any of the Decision Table data.
-
-
Constructor Summary
Constructors Constructor Description PricingRuleTemplateExample()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidexecute(org.kie.api.runtime.KieContainer kc)static voidmain(String[] args)
-
-
-
Method Detail
-
main
public static void main(String[] args)
-
execute
public static void execute(org.kie.api.runtime.KieContainer kc)
-
-