Class ProcessTypeTemplate
java.lang.Object
com.aquima.interactions.test.templates.AbstractReportingTemplate
com.aquima.interactions.test.templates.process.ProcessTypeTemplate
Template class that may be used to provide the information needed during initialization.
- Since:
- 7.1
- Author:
- O. Kerpershoek
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
ProcessTypeTemplate
(com.aquima.interactions.foundation.report.IInitializationReport report, String name) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAllowedSubType
(String name) This method may be used to add an allowed sub type.protected com.aquima.interactions.foundation.GUID
getId()
protected String
getName()
protected boolean
void
setMayContainTasks
(boolean flag) This method may be used to specify if the type allows tasks.com.aquima.interactions.process.ds.IProcessTypeDS
This method converts the template to a data source that can be used during initialization.Methods inherited from class com.aquima.interactions.test.templates.AbstractReportingTemplate
getInitializationReport
-
Constructor Details
-
ProcessTypeTemplate
protected ProcessTypeTemplate(com.aquima.interactions.foundation.report.IInitializationReport report, String name)
-
-
Method Details
-
getName
-
addAllowedSubType
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
-
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.
-