Package org.flowable.engine.repository
Interface ProcessDefinition
- All Superinterfaces:
FlowableDefinition
- All Known Subinterfaces:
ProcessDefinitionEntity
- All Known Implementing Classes:
ProcessDefinitionEntityImpl
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 a
Deployment artifact, 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 a ProcessInstance.- Author:
- Tom Baeyens, Joram Barez, Daniel Meyer
-
Method Summary
Modifier and TypeMethodDescriptioncategory name which is derived from the targetNamespace attribute in the definitions elementThe derived from process definition value when this is a dynamic process definitionThe root derived from process definition value when this is a dynamic process definitionintThe derived version of the process definitiondescription of this processThe resource name in the deployment of the diagram image (if any).The engine version for this process definition (5 or 6)booleanDoes this process definition has a graphical notation defined (such that a diagram can be generated)?booleanDoes this process definition has astart form key.booleanReturns true if the process definition is in suspended state.Methods inherited from interface org.flowable.common.engine.api.repository.FlowableDefinition
getDeploymentId, getId, getKey, getName, getResourceName, getTenantId, getVersion
-
Method Details
-
getCategory
String getCategory()category name which is derived from the targetNamespace attribute in the definitions element -
getDescription
String getDescription()description of this process -
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. -
getDerivedFrom
String getDerivedFrom()The derived from process definition value when this is a dynamic process definition -
getDerivedFromRoot
String getDerivedFromRoot()The root derived from process definition value when this is a dynamic process definition -
getDerivedVersion
int getDerivedVersion()The derived version of the process definition -
getEngineVersion
String getEngineVersion()The engine version for this process definition (5 or 6)
-