Class ProcessTypeTemplate

java.lang.Object
com.aquima.interactions.test.templates.AbstractReportingTemplate
com.aquima.interactions.test.templates.process.ProcessTypeTemplate

public class ProcessTypeTemplate extends AbstractReportingTemplate
Template class that may be used to provide the information needed during initialization.
Since:
7.1
Author:
O. Kerpershoek
  • Constructor Details

    • ProcessTypeTemplate

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

    • getName

      protected String getName()
    • addAllowedSubType

      public void addAllowedSubType(String name)
      This method may be used to add an allowed sub type. As side effect, this method will also set restricted to true.
      Parameters:
      name - The name of the sub type that is allowed.
    • getAllowedTypes

      protected List<String> getAllowedTypes()
    • getId

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

      public void setMayContainTasks(boolean flag)
      This method may be used to specify if the type allows tasks.
      Parameters:
      flag - Boolean indicating if tasks are allowed in processes of this type.
    • mayContainTasks

      protected boolean mayContainTasks()
    • toDataSource

      public com.aquima.interactions.process.ds.IProcessTypeDS toDataSource()
      This method converts the template to a data source that can be used during initialization.
      Returns:
      a data source that can be used during initialization.