public interface IlrTestRuleFactory
| Modifier and Type | Interface and Description |
|---|---|
static interface |
IlrTestRuleFactory.PlaceholderNamesProvider
Provides names for test rule placeholders.
|
| Modifier and Type | Method and Description |
|---|---|
IlrTestRule |
createTestRuleForExecutionDetail(IlrExecutionDetailsCondition theTestOnExecutionDetails,
IlrTestRuleFactory.PlaceholderNamesProvider thePlaceholderNamesProvider)
Creates a test rule for an execution detail.
|
IlrTestRule |
createTestRuleForRulesetParameter(IlrExpectedResultsCondition theTestOnTheParameterAttribute,
IlrTestRuleFactory.PlaceholderNamesProvider thePlaceholderNamesProvider)
Creates a test rule for an output parameter of the ruleset or one of its attributes.
|
IlrTestRule |
createTestRuleForRulesetParameter(java.lang.String thePathToTheParameterAttributeToTest,
IlrTestRuleFactory.PlaceholderNamesProvider thePlaceholderNamesProvider)
Deprecated.
use
createTestRuleForRulesetParameter(IlrExpectedResultsCondition, PlaceholderNamesProvider) with
operator EQUALS in the IlrExpectedResultsCondition parameter. |
java.util.List<IlrTestRule> |
createTestRulesForExecutionDetails(java.util.List<IlrExecutionDetailsCondition> theTestOnExecutionDetails,
IlrTestRuleFactory.PlaceholderNamesProvider thePlaceholderNamesProvider,
java.util.List<ilog.rules.res.util.IlrCommandExecutionReport> theWarningsAndErrorsReport)
Creates a list of test rules for a list of execution details.
|
java.util.List<IlrTestRule> |
createTestRulesForRulesetParameter(java.util.List<java.lang.String> thePathsToTheParametersAttributesToTest,
IlrTestRuleFactory.PlaceholderNamesProvider thePlaceholderNamesProvider,
java.util.List<ilog.rules.res.util.IlrCommandExecutionReport> theWarningsAndErrorsReport)
Deprecated.
Use
createTestRuleForRulesetParameter(String, PlaceholderNamesProvider) using the test operator EQUALS for each path. |
java.util.List<IlrTestRule> |
createTestRulesForRulesetParameters(java.util.List<IlrExpectedResultsCondition> theTestsOnTheParametersAttributes,
IlrTestRuleFactory.PlaceholderNamesProvider thePlaceholderNamesProvider,
java.util.List<ilog.rules.res.util.IlrCommandExecutionReport> theWarningsAndErrorsReport)
Creates a list of test rules for a list of output parameter attributes of the ruleset.
|
@Deprecated IlrTestRule createTestRuleForRulesetParameter(java.lang.String thePathToTheParameterAttributeToTest, IlrTestRuleFactory.PlaceholderNamesProvider thePlaceholderNamesProvider)
createTestRuleForRulesetParameter(IlrExpectedResultsCondition, PlaceholderNamesProvider) with
operator EQUALS in the IlrExpectedResultsCondition parameter.thePathToTheParameterAttributeToTest - The path to the attribute to test. The first element
of the path is the name of an output parameter of the ruleset. Example: to test the attribute
zipCode of the attribute address of the output parameter customer, the path is customer.address.zipCode.thePlaceholderNamesProvider - The instance that provides names for the test rule placeholders.IlrTestRule createTestRuleForRulesetParameter(IlrExpectedResultsCondition theTestOnTheParameterAttribute, IlrTestRuleFactory.PlaceholderNamesProvider thePlaceholderNamesProvider)
theTestOnTheParameterAttribute - The path to the attribute to test and the test operator. The first element
of the path is the name of an output parameter of the ruleset. Example: to test the attribute
zipCode of the attribute address of the output parameter customer, the path is customer.address.zipCode.thePlaceholderNamesProvider - The instance that provides names for the test rule placeholders.IlrTestRule createTestRuleForExecutionDetail(IlrExecutionDetailsCondition theTestOnExecutionDetails, IlrTestRuleFactory.PlaceholderNamesProvider thePlaceholderNamesProvider)
theTestOnExecutionDetails - The execution details and the test operator.thePlaceholderNamesProvider - The instance that provides names for the test rule placeholders.@Deprecated java.util.List<IlrTestRule> createTestRulesForRulesetParameter(java.util.List<java.lang.String> thePathsToTheParametersAttributesToTest, IlrTestRuleFactory.PlaceholderNamesProvider thePlaceholderNamesProvider, java.util.List<ilog.rules.res.util.IlrCommandExecutionReport> theWarningsAndErrorsReport)
createTestRuleForRulesetParameter(String, PlaceholderNamesProvider) using the test operator EQUALS for each path.thePathsToTheParametersAttributesToTest - The list of paths to the attributes to test. The first element
of each path is the name of an output parameter of the ruleset. Example: to test the attribute
zipCode of the attribute address of the output parameter customer, the path is customer.address.zipCode.thePlaceholderNamesProvider - The instance that provides names for the test rule placeholders.theWarningsAndErrorsReport - A non null list that will be completed by execution reports for each path for which the generation
of the rule succeeds with a warning or fails because of an error. The user data section of the command execution report will contain
the path for which the warning or error occurred.thePathsToTheParametersAttributesToTest.java.util.List<IlrTestRule> createTestRulesForRulesetParameters(java.util.List<IlrExpectedResultsCondition> theTestsOnTheParametersAttributes, IlrTestRuleFactory.PlaceholderNamesProvider thePlaceholderNamesProvider, java.util.List<ilog.rules.res.util.IlrCommandExecutionReport> theWarningsAndErrorsReport)
theTestsOnTheParametersAttributes - The list of paths to the attributes to test, associated with their test operator.
The first element of each path is the name of an output parameter of the ruleset. Example: to test the attribute
zipCode of the attribute address of the output parameter customer, the path is customer.address.zipCode.thePlaceholderNamesProvider - The instance that provides names for the test rule placeholders.theWarningsAndErrorsReport - A non null list that will be completed by execution reports for each path for which the generation
of the rule succeeds with a warning of fails because of an error. The user data section of the command execution report will contain
the IlrExpectedResultsCondition for which the warning or error occurred.thePathsToTheParametersAttributesToTest.java.util.List<IlrTestRule> createTestRulesForExecutionDetails(java.util.List<IlrExecutionDetailsCondition> theTestOnExecutionDetails, IlrTestRuleFactory.PlaceholderNamesProvider thePlaceholderNamesProvider, java.util.List<ilog.rules.res.util.IlrCommandExecutionReport> theWarningsAndErrorsReport)
theTestOnExecutionDetails - A list of execution details associated with their test operator.thePlaceholderNamesProvider - The instance that provides names for the test rule placeholders.theWarningsAndErrorsReport - A non null list that will be completed by execution reports for each execution details condition for which the generation
of the rule succeeds with a warning of fails because of an error.theTestOnExecutionDetails.© Copyright IBM Corp. 1987, 2017