Rule Execution Server API

ilog.rules.res.session.rawdata
Interface RawDataRuleService


public interface RawDataRuleService

RawDataRuleService is the interface implemented by all raw data rule service.


Method Summary
 void close()
          Stop the XU.
 IlrSessionResponse execute(IlrPath rulesetPath, Collection<RawDataRulesetParameter> parameters)
          Execute a ruleset base on a ruleset path and return the execution response.
 Map<String,Object> parseParameters(IlrPath rulesetPath, Collection<RawDataRulesetParameter> rawParameters)
          Parse the raw ruleset parameters into Java object parameters map.
 

Method Detail

execute

IlrSessionResponse execute(IlrPath rulesetPath,
                           Collection<RawDataRulesetParameter> parameters)
                           throws RawDataRuleExecutionException,
                                  IlrSessionException
Execute a ruleset base on a ruleset path and return the execution response.

Throws:
RawDataRuleExecutionException - if an error occurred during raw data parsing.
IlrSessionException - if an error occurred during ruleset execution.
Parameters:
rulesetPath - The ruleset path
parameters - A collection contains the ruleset parameters
Returns:
The execution response.

parseParameters

Map<String,Object> parseParameters(IlrPath rulesetPath,
                                   Collection<RawDataRulesetParameter> rawParameters)
                                   throws IlrSessionException,
                                          RawDataRuleExecutionException
Parse the raw ruleset parameters into Java object parameters map.

Throws:
RawDataRuleExecutionException - if an error occurred during raw data parsing.
IlrSessionException - if an error occurred during session operations.
Parameters:
rulesetPath - The ruleset path
rawParameters - A collection contains the raw ruleset parameters
Returns:
A map containing the parsed parameters.

close

void close()
Stop the XU.


Rule Execution Server API

© Copyright IBM Corp. 1987, 2013