ilog.rules.dvs.core

Interface IlrScenario

  • All Known Implementing Classes:
    IlrScenarioImpl


    public interface IlrScenario
    Defines the scenario contract at execution time on the server.
    Since:
    7.0
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      java.lang.String getDescription()
      Returns the description for this scenario.
      java.util.Map<java.lang.String,java.lang.Object> getInputParameters()
      Returns a Map containing the input parameters passed to the ruleset for this scenario.
      java.lang.String getName()
      Returns the scenario name.
      IlrTraceTester getTraceTester()
      Returns the IlrTraceTester defined for this scenario.
    • Method Detail

      • getName

        java.lang.String getName()
        Returns the scenario name.
        Returns:
        The scenario name.
      • getDescription

        java.lang.String getDescription()
        Returns the description for this scenario. This description is optional.
        Returns:
        The scenario description. If no description has been added for this scenario, null is returned.
      • getInputParameters

        java.util.Map<java.lang.String,java.lang.Object> getInputParameters()
                                                                            throws IlrScenarioDataException
        Returns a Map containing the input parameters passed to the ruleset for this scenario. The parameter names and types have to be the ones expected in the ruleset signature.
        Throws:
        IlrTestingException - if there is an error in the scenario input parameters, or an error occurred reading the scenario input parameters.
        IlrScenarioDataException
        Returns:
        The input parameters passed to the ruleset for this scenario.
      • getTraceTester

        IlrTraceTester getTraceTester()
        Returns the IlrTraceTester defined for this scenario. An IlrTraceTester instance defines the expected results and expected execution results for a scenario.
        Returns:
        The trace tester defined for this scenario. If no IlrTraceTester is defined for this scenario, null is returned.

© Copyright IBM Corp. 1987, 2017