Class MaskCallTemplate

java.lang.Object
com.aquima.interactions.test.templates.MaskCallTemplate

public class MaskCallTemplate extends Object
This template can be used for easier mask definition creation.
Since:
7.0
Author:
Jon van Leuven
  • Constructor Details

    • MaskCallTemplate

      public MaskCallTemplate(String callName, String typeName)
      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

      public MaskCallTemplate(String typeName)
      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

      public void setCallName(String name)
      Set the call name for this template.
      Parameters:
      name - The call name.
    • setTypeName

      public void setTypeName(String name)
      Set the type name for this template.
      Parameters:
      name - The type name.
    • addParameter

      public void addParameter(String key, String strValue)
      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

      protected String getCallName()
    • getTypeName

      protected String 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.