@AccessLevel(value=EXTERNAL)
public abstract class DefaultWorkResolverAdapter
extends java.lang.Object
implements curam.util.workflow.impl.WorkResolver
Constructor and Description |
---|
DefaultWorkResolverAdapter() |
Modifier and Type | Method and Description |
---|---|
curam.core.sl.struct.WorkResolverTaskDetails |
populateTaskDetails(curam.util.workflow.struct.TaskDetails taskDetails)
Populates the details of the work resolver object with the details
of the task being assigned.
|
curam.util.workflow.struct.TaskDetails |
populateTaskDetails(curam.core.sl.struct.WorkResolverTaskDetails workResolverTaskDetails)
Populates the details of the task object with the details
of the work resolver task being assigned.
|
abstract void |
resolveWork(curam.util.workflow.struct.TaskDetails taskDetails,
curam.core.sl.struct.AllocationTargetList allocationTargets,
boolean previouslyAllocated)
Assigns the task to an agent or agents that can work on it.
|
void |
resolveWork(curam.util.workflow.struct.TaskDetails taskDetails,
java.util.Map allocationTargets,
boolean previouslyAllocated)
Assigns the task to an agent or agents that can work on it.
|
void |
resolveWork(curam.util.workflow.struct.TaskDetails taskDetails,
java.lang.Object allocationTargets,
boolean previouslyAllocated)
Assigns the task to an agent or agents that can work on it.
|
void |
resolveWork(curam.util.workflow.struct.TaskDetails taskDetails,
java.lang.String allocationTargetID,
boolean previouslyAllocated)
Assigns the task to an agent or agents that can work on it.
|
abstract void |
undoWorkResolution(long taskID)
Removes any assignments of the task to an agent or agents.
|
public void resolveWork(curam.util.workflow.struct.TaskDetails taskDetails, java.lang.Object allocationTargets, boolean previouslyAllocated)
resolveWork
in interface curam.util.workflow.impl.WorkResolver
taskDetails
- The details of the task to allocate.allocationTargets
- A list of AllocationTarget
objects.previouslyAllocated
- A flag that indicates whether the task is
being reallocated.public void resolveWork(curam.util.workflow.struct.TaskDetails taskDetails, java.util.Map allocationTargets, boolean previouslyAllocated)
resolveWork
in interface curam.util.workflow.impl.WorkResolver
taskDetails
- The details of the task to allocate.allocationTargets
- A Map
of allocation target names to
allocation target types.previouslyAllocated
- A flag that indicates whether the task is
being reallocated.public void resolveWork(curam.util.workflow.struct.TaskDetails taskDetails, java.lang.String allocationTargetID, boolean previouslyAllocated)
resolveWork
in interface curam.util.workflow.impl.WorkResolver
taskDetails
- The details of the task to allocate.allocationTargetID
- The identifier of an allocation target.previouslyAllocated
- indicates whether the task is being reallocated.public curam.core.sl.struct.WorkResolverTaskDetails populateTaskDetails(curam.util.workflow.struct.TaskDetails taskDetails)
taskDetails
- The details of the task being assigned.public curam.util.workflow.struct.TaskDetails populateTaskDetails(curam.core.sl.struct.WorkResolverTaskDetails workResolverTaskDetails)
workResolverTaskDetails
- The Task returned by the workflow engine.public abstract void resolveWork(curam.util.workflow.struct.TaskDetails taskDetails, curam.core.sl.struct.AllocationTargetList allocationTargets, boolean previouslyAllocated)
taskDetails
- The details of the task to allocate.allocationTargets
- A list of AllocationTarget
objects.previouslyAllocated
- A flag that indicates whether the task is
being reallocated.public abstract void undoWorkResolution(long taskID)
undoWorkResolution
in interface curam.util.workflow.impl.WorkResolver
taskID
- The identifier of the task to un-resolve.