org.semwebcentral.sweetrules.infrastructure
Interface ISweetActionLauncher

All Known Implementing Classes:
SweetActionLauncher

public interface ISweetActionLauncher

Created on Oct 26, 2004 The action launcher interface

Author:
Shashidhara K Ganjugunte, Dr. Benjamin Grosof, Dr. Said Tabet, Chitravanu Neogy

Method Summary
 void launchActions(org.semwebcentral.sweetrules.ruleml.sweetrulemlobjectmodel.FactType[] facts, org.semwebcentral.sweetrules.ruleml.sweetrulemlobjectmodel.EffeType[] effectorStatements)
          Launches actions corresponding to the given facts based on the specification in the effector statements
 void launchActions(org.semwebcentral.sweetrules.ruleml.sweetrulemlobjectmodel.RulebaseType ruleBase)
          Launches the actions by extracting the effector statements and facts from the specified Rule base
 void launchActions(java.lang.String ruleMLRulebase)
          Launches the actions by extracting the effector statements and facts from the specified Rule base
 

Method Detail

launchActions

public void launchActions(java.lang.String ruleMLRulebase)
                   throws SweetException
Launches the actions by extracting the effector statements and facts from the specified Rule base

Throws:
SweetException - if an error occurs (e.g. not being able to load the effector class)

launchActions

public void launchActions(org.semwebcentral.sweetrules.ruleml.sweetrulemlobjectmodel.RulebaseType ruleBase)
                   throws SweetException
Launches the actions by extracting the effector statements and facts from the specified Rule base

Parameters:
ruleBase - The RuleML rule base as a java.lang.Object
Throws:
SweetException - if an error occurs (e.g. not being able to load the effector class)

launchActions

public void launchActions(org.semwebcentral.sweetrules.ruleml.sweetrulemlobjectmodel.FactType[] facts,
                          org.semwebcentral.sweetrules.ruleml.sweetrulemlobjectmodel.EffeType[] effectorStatements)
                   throws SweetException
Launches actions corresponding to the given facts based on the specification in the effector statements

Parameters:
facts - The facts on which effectors should be launched (If there is no effector associated with a fact, then no action is taken)
effectorStatements - The effector statements based on which method invocations are done
Throws:
SweetException - if an error occurs (e.g. not being able to load the effector class)