Class MaskCallTemplate
java.lang.Object
com.aquima.interactions.test.templates.MaskCallTemplate
This template can be used for easier mask definition creation.
- Since:
- 7.0
- Author:
- Jon van Leuven
-
Constructor Summary
ConstructorsConstructorDescriptionMaskCallTemplate
(String typeName) Construct a mask template with a type name.MaskCallTemplate
(String callName, String typeName) Construct a mask template with a call and type name. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addParameter
(String key, String strValue) This method may be used to add a parameter to the mask call.protected String
protected com.aquima.interactions.foundation.IParameters
protected String
void
setCallName
(String name) Set the call name for this template.void
setTypeName
(String name) Set the type name for this template.com.aquima.interactions.portal.ds.IMaskCallDS
This method converts the template to a data source that can be used to initialize a mask.
-
Constructor Details
-
MaskCallTemplate
Construct a mask template with a call and type name.- Parameters:
callName
- The call name of the mask.typeName
- The type name of the mask.
-
MaskCallTemplate
Construct a mask template with a type name. Note: call name will be equal to type name.- Parameters:
typeName
- The type name of the mask.
-
-
Method Details
-
setCallName
Set the call name for this template.- Parameters:
name
- The call name.
-
setTypeName
Set the type name for this template.- Parameters:
name
- The type name.
-
addParameter
This method may be used to add a parameter to the mask call.- Parameters:
key
- The name of the parameter.strValue
- The value of the parameter.
-
getCallName
-
getTypeName
-
getParameters
protected com.aquima.interactions.foundation.IParameters getParameters() -
toDataSource
public com.aquima.interactions.portal.ds.IMaskCallDS toDataSource()This method converts the template to a data source that can be used to initialize a mask.- Returns:
- The datasource representing the mask.
-