Class ServiceTemplate

java.lang.Object
com.aquima.interactions.test.templates.AbstractReportingTemplate
com.aquima.interactions.test.templates.project.ServiceTemplate

public class ServiceTemplate extends AbstractReportingTemplate
Template that can be used to create a service definition.
Since:
7.1
Author:
O. Kerpershoek
  • Constructor Details

    • ServiceTemplate

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

    • getId

      protected com.aquima.interactions.foundation.GUID getId()
    • getName

      protected String getName()
    • addParameter

      public ParameterTemplate addParameter(String name, com.aquima.interactions.project.ParameterType type)
      This method may be used to add a parameter definition.
      Parameters:
      name - The name of the parameter.
      type - The type of the parameter.
      Returns:
      Template representing the newly added parameter.
    • addParameter

      public ParameterTemplate addParameter(String name, com.aquima.interactions.project.ParameterType type, com.aquima.interactions.project.Direction direction)
      This method may be used to add a parameter definition.
      Parameters:
      name - The name of the parameter.
      type - The type of the parameter.
      direction - The direction of the parameter.
      Returns:
      Template representing the newly added parameter.
    • getParameters

      protected Iterator<ParameterTemplate> getParameters()
    • toDataSource

      public com.aquima.interactions.project.ds.IServiceDS 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.
    • getExitEvents

      protected String[] getExitEvents()
    • addExitEvent

      public void addExitEvent(String eventType)