org.jbpm.pvm.internal.model
Interface OpenProcessDefinition

All Superinterfaces:
CompositeElement, ObservableElement, ProcessDefinition, java.io.Serializable
All Known Subinterfaces:
ClientProcessDefinition
All Known Implementing Classes:
LifeCycle, ProcessDefinitionImpl

public interface OpenProcessDefinition
extends ProcessDefinition, CompositeElement

a graph (or tree) structure that can be executed.

Purpose

ProcessDefinition is a base implementation that can be leveraged to build graph based execution languages. While the ProcessDefinition class is concrete and can be used as-is (e.g. by aggregation), most likely processDefinition languages will inherit from this ProcessDefinition and create more specialized implementations.

The specialized processDefinition language classes can extend this ProcessDefinition with new datastructures relevant for that perticular processDefinition language.

Structure

A processDefinition contains a set of activities. Activities can be connected with transitions or activities can have nested activities. But the transitions and nested activities can be combined.

Execution

To create a new execution for a given processDefinition, see #startExecution().

Author:
Tom Baeyens

Method Summary
 Activity getInitial()
          the initial activity of this process definition
 
Methods inherited from interface org.jbpm.api.ProcessDefinition
getDeploymentId, getDescription, getId, getImageResourceName, getKey, getName, getVersion, isSuspended
 
Methods inherited from interface org.jbpm.pvm.internal.model.CompositeElement
findActivity, getActivities, getActivitiesMap, getActivity, hasActivities, hasActivity
 
Methods inherited from interface org.jbpm.pvm.internal.model.ObservableElement
getDbid, getName, getParent, getProcessDefinition, getProperty, getPropertyKeys, hasEvent
 

Method Detail

getInitial

Activity getInitial()
the initial activity of this process definition



Copyright © 2010 JBoss Community. All Rights Reserved.