public interface IlrScenarioSuiteDescriptor
extends java.io.Serializable
Various types of resources can be added to an
IlrScenarioSuiteDescriptor instance. For example, binary data
and strings.
Instances of this class are created using an instance of
IlrScenarioSuiteDescriptorFactory.
| Modifier and Type | Method and Description |
|---|---|
void |
add(java.lang.String name,
java.io.Serializable value)
Adds a resource with a given name.
|
java.io.Serializable |
get(java.lang.String identifier)
Returns the resource for an identifier.
|
IlrScenarioFormatDescriptor |
getFormatDescriptor()
Returns the format descriptor.
|
java.util.Locale |
getLocale()
Returns the locale.
|
IlrRulesetArchive |
getProductionRulesetArchive()
Deprecated.
use
ilog.rules.dvs.common.input.IlrScenarioSuiteDescriptor.getProductionRESRulesetArchive() |
java.util.Map<java.lang.String,java.lang.String> |
getProductionRulesetProperties()
Returns the production (tested) ruleset properties.
|
java.lang.String |
getResPassword()
Returns the password used to connect to RES via HTTP.
|
java.net.URL |
getResURL()
Returns the URL of the RES to be used for RuleApp deployment.
|
java.lang.String |
getResUser()
Returns the username for connecting to RES via HTTP.
|
java.lang.String |
getTaskName()
Returns the task name.
|
IlrTraceFilter |
getTraceFilter()
Returns the trace filter.
|
java.io.Serializable |
getUserData()
Returns the user data to be used for ruleset execution.
|
boolean |
isKPIEnabled()
Checks whether KPIs are enabled.
|
boolean |
isTestEnabled()
Checks whether tests are enabled.
|
java.util.Map<java.lang.String,java.io.Serializable> |
list()
Returns all resources in a map.
|
void |
setKPIEnabled(boolean enabled)
Sets the KPI enabled flag.
|
void |
setLocale(java.util.Locale locale)
Sets the locale.
|
void |
setProductionRulesetArchive(IlrRulesetArchive productionRulesetArchive)
Deprecated.
use
ilog.rules.dvs.common.input.IlrScenarioSuiteDescriptor.setProductionRESRulesetArchive(ilog.rules.res.model.IlrRESRulesetArchive) |
void |
setProductionRulesetProperties(java.util.Map<java.lang.String,java.lang.String> rulesetProperties)
Sets the production (tested) ruleset properties.
|
void |
setResPassword(java.lang.String resPassword)
Sets the password used to connect to RES via HTTP.
|
void |
setResURL(java.net.URL resURL)
Sets the URL of the RES to be used for RuleApp deployment.
|
void |
setResUser(java.lang.String resUser)
Sets the username for connecting to RES via HTTP.
|
void |
setTaskName(java.lang.String taskName)
Sets the task name.
|
void |
setTestEnabled(boolean enabled)
Sets whether tests are enabled.
|
void |
setTraceFilter(IlrTraceFilter theTraceFilter)
Sets the trace filter.
|
void |
setUserData(java.io.Serializable userData)
Sets the user data to be used for ruleset execution.
|
java.io.Serializable get(java.lang.String identifier)
identifier - The identifier to find a resource for.identifier. If no resource
is found, null is returned.java.util.Map<java.lang.String,java.io.Serializable> list()
IlrScenarioFormatDescriptor getFormatDescriptor()
void add(java.lang.String name,
java.io.Serializable value)
name - The resource name.value - The resource value.java.lang.String getTaskName()
void setTaskName(java.lang.String taskName)
taskName - The task name.java.io.Serializable getUserData()
void setUserData(java.io.Serializable userData)
userData - The user data to be used for ruleset execution.java.util.Locale getLocale()
void setLocale(java.util.Locale locale)
locale - The locale.IlrTraceFilter getTraceFilter()
void setTraceFilter(IlrTraceFilter theTraceFilter)
theTraceFilter - The trace filter.@Deprecated IlrRulesetArchive getProductionRulesetArchive()
ilog.rules.dvs.common.input.IlrScenarioSuiteDescriptor.getProductionRESRulesetArchive()@Deprecated void setProductionRulesetArchive(IlrRulesetArchive productionRulesetArchive)
ilog.rules.dvs.common.input.IlrScenarioSuiteDescriptor.setProductionRESRulesetArchive(ilog.rules.res.model.IlrRESRulesetArchive)productionRulesetArchive - The production (tested) ruleset archive, or null if the
production ruleset archive has already been deployed.void setProductionRulesetProperties(java.util.Map<java.lang.String,java.lang.String> rulesetProperties)
rulesetProperties - The production (tested) ruleset properties.java.util.Map<java.lang.String,java.lang.String> getProductionRulesetProperties()
void setTestEnabled(boolean enabled)
enabled - The test enabled flag.boolean isTestEnabled()
true if tests are enabled.void setKPIEnabled(boolean enabled)
enabled - The KPI enabled flag.boolean isKPIEnabled()
true if KPIs are enabled.java.net.URL getResURL()
http://localhost:9080/res.
If the URL is not set, RuleApp deployment is done using JMX instead of
HTTP.void setResURL(java.net.URL resURL)
http://localhost:9080/res.
If the URL is not set, RuleApp deployment is done using JMX instead of
HTTP.resURL - The URL of the RES to be used for RuleApp deployment.java.lang.String getResUser()
void setResUser(java.lang.String resUser)
resUser - The username for connecting to RES via HTTP.java.lang.String getResPassword()
void setResPassword(java.lang.String resPassword)
resPassword - The password used to connect to RES via HTTP.© Copyright IBM Corp. 1987, 2017