|
Rule Designer API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IlrScenarioSuiteDescriptor
Encapsulates the input resources needed for an SSP run. Instances of this class are used by SSP client applications to prepare the data to be used. The server receives these instances and retrieves the appropriate information to handle the job.
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
.
Method Summary | |
---|---|
void |
add(String name,
Serializable value)
Adds a resource with a given name. |
Serializable |
get(String identifier)
Returns the resource for an identifier. |
IlrScenarioFormatDescriptor |
getFormatDescriptor()
Returns the format descriptor. |
Locale |
getLocale()
Returns the locale. |
IlrRulesetArchive |
getProductionRulesetArchive()
Returns the production (tested) ruleset archive. |
Map<String,String> |
getProductionRulesetProperties()
Returns the production (tested) ruleset properties. |
String |
getResPassword()
Returns the password used to connect to RES via HTTP. |
URL |
getResURL()
Returns the URL of the RES to be used for RuleApp deployment. |
String |
getResUser()
Returns the username for connecting to RES via HTTP. |
String |
getTaskName()
Returns the task name. |
IlrTraceFilter |
getTraceFilter()
Returns the trace filter. |
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. |
Map<String,Serializable> |
list()
Returns all resources in a map. |
void |
setKPIEnabled(boolean enabled)
Sets the KPI enabled flag. |
void |
setLocale(Locale locale)
Sets the locale. |
void |
setProductionRulesetArchive(IlrRulesetArchive productionRulesetArchive)
Sets the production (tested) ruleset archive, in case it must be deployed by the SSP before running tests. |
void |
setProductionRulesetProperties(Map<String,String> rulesetProperties)
Sets the production (tested) ruleset properties. |
void |
setResPassword(String resPassword)
Sets the password used to connect to RES via HTTP. |
void |
setResURL(URL resURL)
Sets the URL of the RES to be used for RuleApp deployment. |
void |
setResUser(String resUser)
Sets the username for connecting to RES via HTTP. |
void |
setTaskName(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(Serializable userData)
Sets the user data to be used for ruleset execution. |
Method Detail |
---|
Serializable get(String identifier)
identifier
- The identifier to find a resource for.
identifier
. If no
resource is found, null
is returned.Map<String,Serializable> list()
IlrScenarioFormatDescriptor getFormatDescriptor()
void add(String name, Serializable value)
name
- The resource name.value
- The resource value.String getTaskName()
void setTaskName(String taskName)
taskName
- The task name.Serializable getUserData()
void setUserData(Serializable userData)
userData
- The user data to be used for ruleset execution.Locale getLocale()
void setLocale(Locale locale)
locale
- The locale.IlrTraceFilter getTraceFilter()
void setTraceFilter(IlrTraceFilter theTraceFilter)
theTraceFilter
- The trace filter.IlrRulesetArchive getProductionRulesetArchive()
void setProductionRulesetArchive(IlrRulesetArchive productionRulesetArchive)
productionRulesetArchive
- The production (tested) ruleset archive, or null if the production ruleset
archive has already been deployed.void setProductionRulesetProperties(Map<String,String> rulesetProperties)
rulesetProperties
- The production (tested) ruleset properties.Map<String,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.URL getResURL()
http://localhost:9080/res
.
If the URL is not set, RuleApp deployment is done using JMX instead of
HTTP.
void setResURL(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.String getResUser()
void setResUser(String resUser)
resUser
- The username for connecting to RES via HTTP.String getResPassword()
void setResPassword(String resPassword)
resPassword
- The password used to connect to RES via HTTP.
|
Rule Designer API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |