|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TaskHistoryProvider
Describes an assignment algorithm that can be used to assign a task of a given type to users as candidates for claiming the task. This algorithm may optionally choose to claim the task in the name of a designated candidate user. Implementations of this interface MUST provide a public default (no arg) constructor. Implementations must make no assumptions about the lifecycle of their instances nor their relationship to other instances. Lifecycle is controlled entirely via the initialize() and destroy() methods.
Method Summary | |
---|---|
void |
destroy()
Release any resources obtained in the call to initialize or calls to getTaskHistory(). |
TaskHistory |
getTaskHistory(String taskId)
Get the task history for the given task id. |
void |
initialize()
Initialize this instance in preparation for calls on getTaskHistory() |
void |
setProperties(Property[] props)
Set any properties that were configured with this task history provider handler. |
Method Detail |
---|
void setProperties(Property[] props)
props
- void initialize() throws ManagementException
ManagementException
- if any error occurs
that would prevent this instance from properly handling calls
to getTaskHistory()TaskHistory getTaskHistory(String taskId) throws AssignmentException, ManagementException
taskId
-
AssignmentException
ManagementException
void destroy() throws ManagementException
ManagementException
- If any error occurs
releasing resources.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |