org.activiti.engine.repository
接口 ProcessDefinition

所有已知实现类:
ProcessDefinitionEntity

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 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.

作者:
Tom Baeyens, Joram Barez, Daniel Meyer

方法摘要
 String getCategory()
          category name which is derived from the targetNamespace attribute in the definitions element
 String getDeploymentId()
          The deployment in which this process definition is contained.
 String getDescription()
          description of this process
 String getDiagramResourceName()
          The resource name in the deployment of the diagram image (if any).
 String getId()
          unique identifier
 String getKey()
          unique name for all versions this process definitions
 String getName()
          label used for display purposes
 String getResourceName()
          name of the resource of this process definition.
 int getVersion()
          version of this process definition
 boolean hasStartFormKey()
          Does this process definition has a start form key.
 boolean isSuspended()
          Returns true if the process definition is in suspended state.
 

方法详细信息

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 of the resource of 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 a start form key.


isSuspended

boolean isSuspended()
Returns true if the process definition is in suspended state.



Copyright © 2013 Alfresco. All rights reserved.