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

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


org.jbpm.taskmgmt.exe
Interface Assignable

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
SwimlaneInstance, TaskInstance

public interface Assignable
extends java.io.Serializable

common superclass for TaskInstances and SwimlaneInstances used by the AssignmentHandler interface.


Method Summary
 void setActorId(java.lang.String actorId)
          sets the responsible for this assignable object.
 void setPooledActors(java.lang.String[] pooledActors)
          sets the resource pool for this assignable as a set of PooledActors.
 

Method Detail

setActorId

public void setActorId(java.lang.String actorId)
sets the responsible for this assignable object. Use this method to assign the task into a user's personal task list.


setPooledActors

public void setPooledActors(java.lang.String[] pooledActors)
sets the resource pool for this assignable as a set of PooledActors. Use this method to offer the task to a group of users. Each user in the group can then take the task by calling the setActorId(String).



Version : jbpm-3.0.4