org.jbpm.api.model
Interface OpenProcessDefinition

All Superinterfaces:
CompositeElement, ObservableElement, ProcessDefinition, java.io.Serializable
All Known Subinterfaces:
ClientProcessDefinition

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
getDeploymentDbid, getId, getImageResourceName, getKey, getName, getVersion
 
Methods inherited from interface org.jbpm.api.model.CompositeElement
findActivity, getActivities, getActivitiesMap, getActivity, hasActivities, hasActivity
 
Methods inherited from interface org.jbpm.api.model.ObservableElement
getDbid, getName, getParent, getProcessDefinition, getProperty, getPropertyKeys, hasEvent
 

Method Detail

getInitial

Activity getInitial()
the initial activity of this process definition



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