org.jbpm.taskmgmt.def
Interface AssignmentHandler

All Superinterfaces:
java.io.Serializable

public interface AssignmentHandler
extends java.io.Serializable

assigns TaskInstances or SwimlaneInstances to actors.


Method Summary
 void assign(Assignable assignable, ExecutionContext executionContext)
          assigns the assignable (=TaskInstance or a SwimlaneInstance to an swimlaneActorId or a set of PooledActors.
 

Method Detail

assign

void assign(Assignable assignable,
            ExecutionContext executionContext)
            throws java.lang.Exception
assigns the assignable (=TaskInstance or a SwimlaneInstance to an swimlaneActorId or a set of PooledActors.

The swimlaneActorId is the user that is responsible for the given task or swimlane. The pooledActors represents a pool of actors to which the task or swimlane is offered. Any actors from the pool can then take a TaskInstance by calling TaskInstance.setActorId(String).

Throws:
java.lang.Exception


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