Package org.activiti.engine.repository
Interface ProcessDefinition
-
- All Known Subinterfaces:
ProcessDefinitionEntity
- All Known Implementing Classes:
ProcessDefinitionEntityImpl
@Internal public interface ProcessDefinition
An object structure representing an executable process composed of activities and transitions. Business processes are often created with graphical editors that store the process definition in certain file format. These files can be added to aDeploymentartifact, such as for example a Business Archive (.bar) file. At deploy time, the engine will then parse the process definition files to an executable instance of this class, that can be used to start aProcessInstance.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IntegergetAppVersion()StringgetCategory()category name which is derived from the targetNamespace attribute in the definitions elementStringgetDeploymentId()The deployment in which this process definition is contained.StringgetDescription()description of this processStringgetDiagramResourceName()The resource name in the deployment of the diagram image (if any).StringgetEngineVersion()The engine version for this process definition (5 or 6)StringgetId()unique identifierStringgetKey()unique name for all versions this process definitionsStringgetName()label used for display purposesStringgetResourceName()name ofthe resourceof this process definition.StringgetTenantId()The tenant identifier of this process definitionintgetVersion()version of this process definitionbooleanhasGraphicalNotation()Does this process definition has a graphical notation defined (such that a diagram can be generated)?booleanhasStartFormKey()Does this process definition has astart form key.booleanisSuspended()Returns true if the process definition is in suspended state.voidsetAppVersion(Integer appVersion)
-
-
-
Method Detail
-
getId
String getId()
unique identifier
-
getCategory
String getCategory()
category name which is derived from the targetNamespace attribute in the definitions element
-
getName
String getName()
label used for display purposes
-
getKey
String getKey()
unique name for all versions this process definitions
-
getDescription
String getDescription()
description of this process
-
getVersion
int getVersion()
version of this process definition
-
getResourceName
String getResourceName()
name ofthe resourceof this process definition.
-
getDeploymentId
String getDeploymentId()
The deployment in which this process definition is contained.
-
getDiagramResourceName
String getDiagramResourceName()
The resource name in the deployment of the diagram image (if any).
-
hasStartFormKey
boolean hasStartFormKey()
Does this process definition has astart form key.
-
hasGraphicalNotation
boolean hasGraphicalNotation()
Does this process definition has a graphical notation defined (such that a diagram can be generated)?
-
isSuspended
boolean isSuspended()
Returns true if the process definition is in suspended state.
-
getTenantId
String getTenantId()
The tenant identifier of this process definition
-
getEngineVersion
String getEngineVersion()
The engine version for this process definition (5 or 6)
-
setAppVersion
void setAppVersion(Integer appVersion)
-
getAppVersion
Integer getAppVersion()
-
-