public class IlrScenarioImpl extends java.lang.Object implements IlrScenario
IlrScenario interface.
Use this class when you develop custom scenario providers.| Constructor and Description |
|---|
IlrScenarioImpl() |
| 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. |
void |
setDescription(java.lang.String theDescription)
Sets the description.
|
void |
setExceptionOnInputParameters(java.lang.Exception exceptionOnInputParameters)
Sets the
Exception to be thrown by getInputParameters()
when it is called. |
void |
setInputParameters(java.util.Map<java.lang.String,java.lang.Object> theInputParameters)
Sets the input parameters.
|
void |
setName(java.lang.String theName)
Sets the scenario name.
|
void |
setTraceTester(IlrTraceTester theTraceTester)
Sets the trace tester.
|
public java.lang.String getName()
getName in interface IlrScenariopublic java.lang.String getDescription()
getDescription in interface IlrScenarionull is returned.public java.util.Map<java.lang.String,java.lang.Object> getInputParameters()
throws IlrScenarioDataException
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.
If setExceptionOnInputParameters(Exception) has been
previously called with a non-null value, this method
throws the exception again.getInputParameters in interface IlrScenarioIlrScenarioDataExceptionpublic IlrTraceTester getTraceTester()
IlrTraceTester defined for this scenario.
An IlrTraceTester instance defines the expected results and
expected execution results for a scenario.getTraceTester in interface IlrScenarioIlrTraceTester is defined for this scenario,
null is returned.public void setExceptionOnInputParameters(java.lang.Exception exceptionOnInputParameters)
Exception to be thrown by getInputParameters()
when it is called.exceptionOnInputParameters - The Exception to be thrown by
getInputParameters() when it is called.public void setName(java.lang.String theName)
theName - The scenario name.public void setTraceTester(IlrTraceTester theTraceTester)
theTraceTester - The trace tester.public void setDescription(java.lang.String theDescription)
theDescription - The description.public void setInputParameters(java.util.Map<java.lang.String,java.lang.Object> theInputParameters)
theInputParameters - The input parameters.© Copyright IBM Corp. 1987, 2017