|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.fosstrak.capturingapp.ECReportsHandler org.fosstrak.capturingapp.DefaultECReportHandler
public class DefaultECReportHandler
The default handler. This handler gets always loaded. if you invoke the handler with a change-set file, the handler will use this change-set to load the drools rule set.
Field Summary |
---|
Fields inherited from class org.fosstrak.capturingapp.ECReportsHandler |
---|
changeSet, DEFAULT_RULE_SET, epcis, kbase, kbuilder, ksession, RESULTS |
Constructor Summary | |
---|---|
DefaultECReportHandler()
default constructor. |
|
DefaultECReportHandler(java.lang.String changeSet)
create a new handler with a non default change set. |
Method Summary | |
---|---|
void |
loadRules()
// parse and compile the rule from file kbuilder.add(ResourceFactory.newClassPathResource( "HelloWorld.drl", HelloWorld.class), ResourceType.DRL); |
Methods inherited from class org.fosstrak.capturingapp.ECReportsHandler |
---|
checkErrors, collectResults, createSession, dispose, executeSession, getChangeSet, handle, prepareGlobalCollector, registerKnowledgeBase |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultECReportHandler()
public DefaultECReportHandler(java.lang.String changeSet)
changeSet
- Method Detail |
---|
public void loadRules()
ECReportsHandler
// parse and compile the rule from file
kbuilder.add(ResourceFactory.newClassPathResource(
"HelloWorld.drl", HelloWorld.class), ResourceType.DRL);
loadRules
in class ECReportsHandler
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |