org.jbpm.api
Interface ProcessDefinition

All Superinterfaces:
java.io.Serializable

public interface ProcessDefinition
extends java.io.Serializable

a graphical process which is deployed in the RepositoryService.

Author:
Tom Baeyens

Method Summary
 java.lang.String getDeploymentId()
          references the deployment in which this process definition is deployed.
 java.lang.String getDescription()
          description of the process definition
 java.lang.String getId()
          the unique id for this process definition that is used as a reference in the service methods.
 java.lang.String getImageResourceName()
          the name of the resource in the deployment which contains the image file for this process
 java.lang.String getKey()
          the user defined short representation of the name.
 java.lang.String getName()
          the short display name given to this process definition.
 int getVersion()
          automatically assigned during deployment of a process that represents the sequence number for process definitions with the same name.
 

Method Detail

getName

java.lang.String getName()
the short display name given to this process definition. Multiple process definitions can have the same as long as they are given a different version.


getKey

java.lang.String getKey()
the user defined short representation of the name. Just like the name, multiple versions of a process definition can have the same key.


getId

java.lang.String getId()
the unique id for this process definition that is used as a reference in the service methods.


getVersion

int getVersion()
automatically assigned during deployment of a process that represents the sequence number for process definitions with the same name.


getDeploymentId

java.lang.String getDeploymentId()
references the deployment in which this process definition is deployed.


getImageResourceName

java.lang.String getImageResourceName()
the name of the resource in the deployment which contains the image file for this process


getDescription

java.lang.String getDescription()
description of the process definition



Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.