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

Quick Search    Search Deep

org.jbpm.workflow.delegation
Interface AssignmentContext  view AssignmentContext download AssignmentContext.java

All Superinterfaces:
HandlerContext

public interface AssignmentContext
extends HandlerContext

allows the Assigner-implementator to interact with and get information from the process execution engine.


Method Summary
 org.jbpm.workflow.definition.Node getNode()
          gets the org.jbpm.workflow.definition.ActivityState for which an org.jbpm.workflow.organisation.Actor has to be selected.
 org.jbpm.workflow.organisation.OrganisationComponent getOrganisationComponent()
          since Assigner-implementations tend to use the organisation-component this is a convenient way to get it.
 org.jbpm.workflow.organisation.Actor getPreviousActor()
          gets the org.jbpm.workflow.organisation.Actor that performed the previous activity-state.
 
Methods inherited from interface org.jbpm.workflow.delegation.HandlerContext
getAttribute, getConfiguration, getFlow, getProcessDefinition, getProcessInstance, log, schedule, schedule
 

Method Detail

getOrganisationComponent

public org.jbpm.workflow.organisation.OrganisationComponent getOrganisationComponent()
since Assigner-implementations tend to use the organisation-component this is a convenient way to get it.


getNode

public org.jbpm.workflow.definition.Node getNode()
gets the org.jbpm.workflow.definition.ActivityState for which an org.jbpm.workflow.organisation.Actor has to be selected.

Specified by:
getNode in interface HandlerContext

getPreviousActor

public org.jbpm.workflow.organisation.Actor getPreviousActor()
gets the org.jbpm.workflow.organisation.Actor that performed the previous activity-state.