Class RestOperationTemplate
java.lang.Object
com.aquima.interactions.test.templates.AbstractReportingTemplate
com.aquima.interactions.test.templates.communication.RestOperationTemplate
This class may be used to quickly initialize a model.
- Since:
- 9.0
- Author:
- Jon van Leuven, Arjan Pragt
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
RestOperationTemplate
(String operationName, com.aquima.interactions.foundation.report.IInitializationReport report) -
Method Summary
Modifier and TypeMethodDescriptionprotected String
getName()
This method returns the template for the request messageThis method returns the template for the response messagevoid
setDocumentation
(String documentation) Sets the documentation of the operation.com.aquima.interactions.communication.ds.IRestOperationDS
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
-
RestOperationTemplate
protected RestOperationTemplate(String operationName, com.aquima.interactions.foundation.report.IInitializationReport report)
-
-
Method Details
-
getName
-
getDocumentation
-
setDocumentation
Sets the documentation of the operation.- Parameters:
documentation
- The documentation of the operation, may be null
-
getRequestMessage
This method returns the template for the request message- Returns:
- The request message template
-
getResponseMessage
This method returns the template for the response message- Returns:
- The reponse message template
-
toDataSource
public com.aquima.interactions.communication.ds.IRestOperationDS 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.
-