Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.jbpm.workflow.execution
Interface ProcessInstance  view ProcessInstance download ProcessInstance.java

All Superinterfaces:
java.io.Serializable

public interface ProcessInstance
extends java.io.Serializable

is one execution of a org.jbpm.workflow.definition.ProcessDefinition.


Method Summary
 java.util.Date getEnd()
          the date this instance ended or null if this instance has not yet ended.
 java.lang.Long getId()
          the meaningless primary-key for this object.
 org.jbpm.workflow.organisation.Actor getInitiator()
          is the actor that started this process instance.
 org.jbpm.workflow.definition.ProcessDefinition getProcessDefinition()
          the org.jbpm.workflow.definition.ProcessDefinition of this instance.
 Flow getRootFlow()
          the top-level flow of this instance.
 java.util.Date getStart()
          the date this instance started.
 Flow getSuperProcessFlow()
          if this instance is executed as an activity of a higher-level process, this is the Flow which is waiting in a activity for this instance to complete.
 

Method Detail

getId

public java.lang.Long getId()
the meaningless primary-key for this object.


getStart

public java.util.Date getStart()
the date this instance started.


getEnd

public java.util.Date getEnd()
the date this instance ended or null if this instance has not yet ended.


getInitiator

public org.jbpm.workflow.organisation.Actor getInitiator()
is the actor that started this process instance.


getProcessDefinition

public org.jbpm.workflow.definition.ProcessDefinition getProcessDefinition()
the org.jbpm.workflow.definition.ProcessDefinition of this instance.


getRootFlow

public Flow getRootFlow()
the top-level flow of this instance. Note that forks and joins create a hierarchically ordered tree of flows.


getSuperProcessFlow

public Flow getSuperProcessFlow()
if this instance is executed as an activity of a higher-level process, this is the Flow which is waiting in a activity for this instance to complete.