org.jbpm.taskmgmt.exe
Class SwimlaneInstance
java.lang.Object
org.jbpm.taskmgmt.exe.SwimlaneInstance
- All Implemented Interfaces:
- Serializable, Assignable
public class SwimlaneInstance
- extends Object
- implements Assignable
is a process role for a one process instance.
- See Also:
- Serialized Form
name
protected String name
actorId
protected String actorId
pooledActors
protected Set pooledActors
swimlane
protected Swimlane swimlane
taskMgmtInstance
protected TaskMgmtInstance taskMgmtInstance
SwimlaneInstance
public SwimlaneInstance()
SwimlaneInstance
public SwimlaneInstance(Swimlane swimlane)
setPooledActors
public void setPooledActors(String[] actorIds)
- Description copied from interface:
Assignable
- 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 Assignable.setActorId(String).
- Specified by:
setPooledActors in interface Assignable
equals
public boolean equals(Object o)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
getId
public long getId()
getName
public String getName()
getSwimlane
public Swimlane getSwimlane()
getActorId
public String getActorId()
setActorId
public void setActorId(String actorId)
- Description copied from interface:
Assignable
- sets the responsible for this assignable object.
Use this method to assign the task into a user's personal
task list.
- Specified by:
setActorId in interface Assignable
getTaskMgmtInstance
public TaskMgmtInstance getTaskMgmtInstance()
setTaskMgmtInstance
public void setTaskMgmtInstance(TaskMgmtInstance taskMgmtInstance)
getPooledActors
public Set getPooledActors()
setPooledActors
public void setPooledActors(Set pooledActors)
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.