Class ResourceConnectionTemplate

java.lang.Object
com.aquima.interactions.test.templates.AbstractReportingTemplate
com.aquima.interactions.test.templates.project.ResourceConnectionTemplate
Direct Known Subclasses:
CsvResourceConnectionTemplate

public class ResourceConnectionTemplate extends AbstractReportingTemplate
Template that may be used to create a data source implementation for a resource connection.
Since:
8.3
Author:
Jon van Leuven
  • Constructor Details

    • ResourceConnectionTemplate

      protected ResourceConnectionTemplate(com.aquima.interactions.foundation.report.IInitializationReport report, String name)
  • Method Details

    • toDataSource

      public com.aquima.interactions.project.ds.IResourceConnectionDS toDataSource()
      This method converts the template to a data source that can be used to initialize the definition.
      Returns:
      a data source that can be used to initialize the definition.
    • setTextContent

      public void setTextContent(String textContent)
      This method sets the text content to this resource.
      Parameters:
      textContent - The text content, may not be null.
    • getName

      protected String getName()
    • getBase64EncodedData

      protected String getBase64EncodedData()
    • setParameter

      public void setParameter(String key, String value)
    • getParameters

      protected Iterator<com.aquima.interactions.foundation.utility.Pair<String>> getParameters()