站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss JBPM 3.0.4 API 英文版文档

AssignmentHandler (jbpm-3.0.4) - JBoss JBPM 3.0.4 API 英文版文档


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

public 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


Version : jbpm-3.0.4