Class TaskMappingTemplate

java.lang.Object
com.aquima.interactions.test.templates.AbstractReportingTemplate
com.aquima.interactions.test.templates.TaskMappingTemplate

public class TaskMappingTemplate extends AbstractReportingTemplate
Template that can be used to initialize a task mapping.
Since:
7.1
Author:
O. Kerpershoek
  • Constructor Details

    • TaskMappingTemplate

      protected TaskMappingTemplate(com.aquima.interactions.foundation.report.IInitializationReport report, ApplicationTemplate app, String taskName, String flowName)
  • Method Details

    • getCaseMapping

      public MappingTemplate getCaseMapping()
      This method returns the mapping between the case-data and the target application model.
      Returns:
      the mapping between the case-data and the target application model.
    • setCaseMapping

      public MappingTemplate setCaseMapping(String name)
    • getResultMapping

      public MappingTemplate getResultMapping()
      This method returns the mapping for the target application back to the case model.
      Returns:
      the mapping for the target application back to the case model.
    • setResultMapping

      public MappingTemplate setResultMapping(String name)
    • getTaskName

      protected String getTaskName()
    • getFlowName

      protected String getFlowName()
    • setApplicationName

      public void setApplicationName(String name)
      this method may be used to specify the name of the application the task should be mapped to.
      Parameters:
      name - the name of the application the task should be mapped to.
    • getAppName

      protected String getAppName()
    • setApplicationVersion

      public void setApplicationVersion(com.aquima.interactions.foundation.Version version)
      this method may be used to specify the version of the application the task should be mapped to.
      Parameters:
      version - the version of the application the task should be mapped to.
    • getAppVersion

      protected com.aquima.interactions.foundation.Version getAppVersion()
    • addExitMapping

      public void addExitMapping(String flowExitExvent, String taskExitState)
      This method may be used to specify the mapping between a flow exit event and a task exit state.
      Parameters:
      flowExitExvent - The name of the flow exit.
      taskExitState - The name of the task exit.
    • getExitMappings

      protected List<com.aquima.interactions.test.templates.ExitMapping> getExitMappings()
    • toDataSource

      public com.aquima.interactions.portal.ds.ITaskMappingDS toDataSource()
      This method returns a data-source implementation based on this template.
      Returns:
      data-source implementation based on this template.
    • getResultMappingName

      protected String getResultMappingName()
    • getCaseMappingName

      protected String getCaseMappingName()
    • getPrecondition

      public String getPrecondition()
    • setPrecondition

      public void setPrecondition(String precondition)