The Extended Operator Java project contains
a src folder with the source code for the extended
operators and has on its build path the standard Java system library and CcExtensionApi.jar with the Corticon extension API:
The src folder contains the source
code for three Java classes that implement extended operators:
The Extended Operator Rule project is a set
of rule assets that demonstrate the extended operator Java sample It uses the
extended operators and the supporting vocabulary, Ruleflows, and Ruletests for the
project, plus the JAR file of the extensions built in the Java project, sample-extensions.jar:
The sample project contains a Vocabulary, and three Rulesheets that
demonstrate each of the new extended operators:
FutureValue - Determines years to retirement and the future
value of the current investment with a constant interest rate.
RetireInLeapYear - Checks whether the retirement year is a leap
year
DuplicateVendors - Checks to determine that there are not
multiple accounts with the same vendor
The Ruleflow chains the three Rulesheets together for the Ruletest
to see that the extended operators behave as expected.