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 java.lang.IntegergetAppVersion()java.lang.StringgetCategory()category name which is derived from the targetNamespace attribute in the definitions elementjava.lang.StringgetDeploymentId()The deployment in which this process definition is contained.java.lang.StringgetDescription()description of this processjava.lang.StringgetDiagramResourceName()The resource name in the deployment of the diagram image (if any).java.lang.StringgetEngineVersion()The engine version for this process definition (5 or 6)java.lang.StringgetId()unique identifierjava.lang.StringgetKey()unique name for all versions this process definitionsjava.lang.StringgetName()label used for display purposesjava.lang.StringgetResourceName()name ofthe resourceof this process definition.java.lang.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(java.lang.Integer appVersion)
-
-
-
Method Detail
-
getId
java.lang.String getId()
unique identifier
-
getCategory
java.lang.String getCategory()
category name which is derived from the targetNamespace attribute in the definitions element
-
getName
java.lang.String getName()
label used for display purposes
-
getKey
java.lang.String getKey()
unique name for all versions this process definitions
-
getDescription
java.lang.String getDescription()
description of this process
-
getVersion
int getVersion()
version of this process definition
-
getResourceName
java.lang.String getResourceName()
name ofthe resourceof this process definition.
-
getDeploymentId
java.lang.String getDeploymentId()
The deployment in which this process definition is contained.
-
getDiagramResourceName
java.lang.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
java.lang.String getTenantId()
The tenant identifier of this process definition
-
getEngineVersion
java.lang.String getEngineVersion()
The engine version for this process definition (5 or 6)
-
setAppVersion
void setAppVersion(java.lang.Integer appVersion)
-
getAppVersion
java.lang.Integer getAppVersion()
-
-