|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AssignmentInstructions
Represents instructions to guide the assignment process, either upon creation of a task, entry into a new current step, or upon manual reassignment. NOTE: BEA provides a default implementation of this interface that can be instantiated using TaskPlanFactory
TaskPlanFactory.createAssignmentInstructions()
Nested Class Summary | |
---|---|
static interface |
AssignmentInstructions.Event
Property names for the PropertyChangeEvents that can be produced by edits on a object of this type. |
Method Summary | |
---|---|
AssigneeDefinition |
addAssignee(String name,
AssigneeDefinition.Type type)
Add a new assignee definition to the list of assignees that will be considered when this task is assigned. |
AssigneeDefinition[] |
getAssignees()
The list of assignees that will be considered when this task is assigned. |
CandidateListHandling |
getCandidateListHandling()
Get the type of handling that will be applied to the list of candidates derived from evaluating the assignee list. |
int |
getLoadBalancingMaxTasksToConsider()
The maximum number of tasks to consider (if performing load balancing) when doing workload calculations. |
boolean |
isLoadBalancingAvailabilityCheckEnabled()
Will availability of candidates be considered when doing load balancing during assignment. |
boolean |
isLoadBalancingWorkloadTaskCountOnlyEnabled()
Get a flag indicating that a raw count of tasks is all that is needed to determine workload score. |
boolean |
isSetLoadBalancingAvailabilityCheckEnabled()
Indicates if LoadBalancingAvailabilityCheckEnabled was explicitly set (true) or is a default (false). |
boolean |
isSetLoadBalancingWorklistTaskCountOnlyEnabled()
Indicates if LoadBalancingWorklistTaskCountOnlyEnabled was explicitly set (true) or is a default (false). |
void |
removeAssignee(AssigneeDefinition assignee)
Remove the given assignee from the list of assignees. |
void |
setAssignees(AssigneeDefinition[] assignees)
Set the list of assignees directly (null clears the list of assignees). |
void |
setCandidateListHandling(CandidateListHandling handling)
Set the type of handling that will be applied to the list of candidates derived from evaluating the assignee list. |
void |
setLoadBalancingAvailabilityCheckEnabled(boolean enabled)
Set whether availability of candidates will be considered when doing load balancing during assignment. |
void |
setLoadBalancingMaxTasksToConsider(int maxTasks)
Set the maximum number of tasks to consider (if performing load balancing) when doing worload calculations. |
void |
setLoadBalancingWorkloadTaskCountOnlyEnabled(boolean enabled)
Set whether assignment of the task can consider only the count of tasks claimed by this user, and not the more detailed workload information associated with the task. |
Methods inherited from interface com.bea.wli.worklist.api.taskplan.EventSource |
---|
addPropertyChangeListener, addPropertyChangeListener, clearDirty, dispose, getParent, isComplete, isDirty, isInitializing, isStarted, markDirty, removePropertyChangeListener, removePropertyChangeListener, startProducing |
Method Detail |
---|
AssigneeDefinition[] getAssignees()
void setAssignees(AssigneeDefinition[] assignees)
AssigneeDefinition addAssignee(String name, AssigneeDefinition.Type type)
name
- The name for the assignee. This name should be an appropriate
name for the type of assignee indicated by type. For example, a
User assignee should be given a valid user name in the WLS
security realm that will apply at runtime. A Group assignee should
be given a valid group name. A Rule assignee must be given the
name of a rule binding that exists within the task plan that hosts
these assignment instructions (or rather the step for these
instructions).void removeAssignee(AssigneeDefinition assignee)
assignee
- An existing assignee definition within the assignee list.CandidateListHandling getCandidateListHandling()
void setCandidateListHandling(CandidateListHandling handling)
boolean isLoadBalancingAvailabilityCheckEnabled()
void setLoadBalancingAvailabilityCheckEnabled(boolean enabled)
boolean isSetLoadBalancingAvailabilityCheckEnabled()
boolean isLoadBalancingWorkloadTaskCountOnlyEnabled()
void setLoadBalancingWorkloadTaskCountOnlyEnabled(boolean enabled)
enabled
- If true, only task count will be considered when
calculating workload for a user during load balancing.boolean isSetLoadBalancingWorklistTaskCountOnlyEnabled()
int getLoadBalancingMaxTasksToConsider()
void setLoadBalancingMaxTasksToConsider(int maxTasks)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |