Class RestOperationTemplate

java.lang.Object
com.aquima.interactions.test.templates.AbstractReportingTemplate
com.aquima.interactions.test.templates.communication.RestOperationTemplate

public class RestOperationTemplate extends AbstractReportingTemplate
This class may be used to quickly initialize a model.
Since:
9.0
Author:
Jon van Leuven, Arjan Pragt
  • Constructor Details

    • RestOperationTemplate

      protected RestOperationTemplate(String operationName, com.aquima.interactions.foundation.report.IInitializationReport report)
  • Method Details

    • getName

      protected String getName()
    • getDocumentation

      public String getDocumentation()
    • setDocumentation

      public void setDocumentation(String documentation)
      Sets the documentation of the operation.
      Parameters:
      documentation - The documentation of the operation, may be null
    • getRequestMessage

      public RestRequestMessageTemplate getRequestMessage()
      This method returns the template for the request message
      Returns:
      The request message template
    • getResponseMessage

      public RestMessageTemplate 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.