ilog.rules.res.session.rawdata
Interface RawDataRuleService
-
public interface RawDataRuleService
RawDataRuleService
is the interface implemented by all raw data rule service.
-
-
Method Summary
Methods Modifier and Type Method and Description void
close()
Deprecated.IlrSessionResponse
execute(IlrPath rulesetPath, java.util.Collection<RawDataRulesetParameter> parameters)
Execute a ruleset base on a ruleset path and return the execution response.java.util.Map<java.lang.String,java.lang.Object>
parseParameters(IlrPath rulesetPath, java.util.Collection<RawDataRulesetParameter> rawParameters)
Parse the raw ruleset parameters into Java object parameters map.
-
-
-
Method Detail
-
execute
IlrSessionResponse execute(IlrPath rulesetPath, java.util.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 pathparameters
- A collection contains the ruleset parameters- Returns:
- The execution response.
-
parseParameters
java.util.Map<java.lang.String,java.lang.Object> parseParameters(IlrPath rulesetPath, java.util.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 pathrawParameters
- A collection contains the raw ruleset parameters- Returns:
- A map containing the parsed parameters.
-
close
@Deprecated void close()
Deprecated.The function is deprecated. Please useRawDataRuleServiceFactory.close()
to stop XU.
-
-