Interface IProcessMapping

All Known Implementing Classes:
ProcessMapping

public interface IProcessMapping
Interface describing the exposed mappings for processes.
Since:
8.4
Author:
Jon van Leuven
  • Method Details

    • getCaseDataMapping

      IMapping getCaseDataMapping()
      This method returns the mapper that may be used to map the model of the process engine to the model of this application.
      Returns:
      The profile mapper, may be null.
    • getCaseUpdateMapping

      IMapping getCaseUpdateMapping()
      This method returns the mapper that may be used to map the model of this application to the model of the process engine.
      Returns:
      The profile mapper, may be null.
    • getTaskMapping

      TaskMapping getTaskMapping(String taskName, InferenceContext context)
      Gets the appropriate task mapping.

      The task mappings are parsed in the definition order and the first one the satisfies the following conditions is returned:

      Parameters:
      taskName - The task for which the task mapping should be returned
      context - The context used to evaluate the precondition expressions against
      Returns:
      The task mapping as described above
      Throws:
      InvalidStateException - No task mapping could be found
    • getTaskMapping

      TaskMapping getTaskMapping(String taskName)
      Gets the appropriate task mapping.

      The task mappings are parsed in the definition order and the first one the satisfies the following conditions is returned:

      Parameters:
      taskName - The task for which the task mapping should be returned
      Returns:
      The task mapping as described above
      Throws:
      InvalidStateException - No task mapping could be found or conditions on mapping are used
    • getApplicationName

      String getApplicationName()
      This method returns the name of the application that contains the process definitions.
      Returns:
      The name of the application that contains the process definitions.
    • getApplicationVersion

      Version getApplicationVersion()
      This method returns the version of the application that contains the process definitions.
      Returns:
      The version of the application that contains the process definitions.