Class ResourceConnectionTemplate
java.lang.Object
com.aquima.interactions.test.templates.AbstractReportingTemplate
com.aquima.interactions.test.templates.project.ResourceConnectionTemplate
- Direct Known Subclasses:
CsvResourceConnectionTemplate
Template that may be used to create a data source implementation for a resource connection.
- Since:
- 8.3
- Author:
- Jon van Leuven
-
Constructor Summary
ModifierConstructorDescriptionprotected
ResourceConnectionTemplate
(com.aquima.interactions.foundation.report.IInitializationReport report, String name) -
Method Summary
Modifier and TypeMethodDescriptionprotected String
protected String
getName()
void
setParameter
(String key, String value) void
setTextContent
(String textContent) This method sets the text content to this resource.com.aquima.interactions.project.ds.IResourceConnectionDS
This method converts the template to a data source that can be used to initialize the definition.Methods inherited from class com.aquima.interactions.test.templates.AbstractReportingTemplate
getInitializationReport
-
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
This method sets the text content to this resource.- Parameters:
textContent
- The text content, may not be null.
-
getName
-
getBase64EncodedData
-
setParameter
-
getParameters
-