WebSphere:*,type=TaskManagement
MBean TaskManagement
Management interface for the Task Management service.
Operation Summary | |
void | submit( Submit new task reports to the Task Management service. |
void | submit( Submit a new task report to the Task Management service. |
void | submit( Submit a new task report to the Task Management service with the tasks global ids. |
void | accept( Marks an approval task as accepted |
void | deny( Marks an approval task as denied |
void | preview( Marks an approval task as ready for preview |
void | commit( Marks a preview task as committed |
void | rollback( Marks a preview task as rolled back |
void | close( Marks a manual or non-planned task as closed |
void | updateActionPlanStatus( Update the status of an executing action plan. |
com.ibm.ws.taskmanagement.task.DisplayTask | getTask( Retrieve a task by ID from the TaskManagement service |
java.util.Set | getTasks() Retrieves all active tasks from the TaskManagement service |
java.util.Set | getTasksByComponent( Retrieves all active tasks from the TaskManagement service for a specific component |
java.util.Set | getTasksByTargetObjectContext( Gets the set of tasks from the TaskManagement service for a specific targetObject configuration. |
java.util.Set | getTasksBySeverity( Retrieves all active tasks from the TaskManagement service with a particular severity |
java.util.Set | getPlannedTasks() Retrieves all planned active tasks from the TaskManagement service |
java.util.Set | getNonPlannedTasks() Retrieves all nonplanned active tasks from the TaskManagement service |
java.util.Set | getTerminatedTasks() Retrieves all terminated tasks from the TaskManagement service |
java.lang.Integer | numberofActiveTasks( Retrieves the number of active tasks for a specific target object context |
com.ibm.ws.taskmanagement.task.TaskActionPlan | getActionPlan( Retrieves the action plan for a specific Planned task in the TaskManagement service |
com.ibm.ws.taskmanagement.task.TaskState | getCurrentState( Retrieves the current state of a specific task in the TaskManagement service |
java.lang.Byte | getGlobalSeverity( Retrieves the current severity of a specific task in the TaskManagement service |
void | delete( Deletes one task from the task collection |
void | delete( Deletes one or more tasks from the task collection |
void | addPolicy( Adds a policy to a task |
void | removePolicy( Removes a policy from a task |
java.util.List | getPolicies( Gets all policies associated with a task |
Notification Summary | |
websphere.taskmanagement.tasknew A Node Has Been Added To the NodeGroup. | |
websphere.taskmanagement.taskstatechange A Node Has Been Added To the NodeGroup. | |
websphere.taskmanagement.taskseveritychange A Node Has Been Removed From the NodeGroup. | |
websphere.taskmanagement.tasksstatus A Node Has Been Removed From the NodeGroup. |
Operation Detail |
public void submit(java.util.List taskReports
)
taskReports
-
A list of new TaskReport objects.
public void submit(com.ibm.ws.taskmanagement.task.TaskReport taskReport
)
taskReport
-
A TaskReport object.
public void submit(com.ibm.ws.taskmanagement.task.TaskReport taskReport,
[J gids
)
taskReport
-
A TaskReport object.gids
-
Array of GIDs for the tasks in the TaskReport being submitted.
public void accept(long taskId
)
taskId
-
The ID of the accepted task
public void deny(long taskId
)
taskId
-
The ID of the denied task
public void preview(long taskId
)
taskId
-
The ID of the task to be previewed
public void commit(long taskId
)
taskId
-
The ID of the task to be committed
public void rollback(long taskId
)
taskId
-
The ID of the task to be rolled back
public void close(long taskId
)
taskId
-
The ID of the closed task
public void updateActionPlanStatus(com.ibm.ws.taskmanagement.task.ActionPlanStatus actionPlanStatus
)
actionPlanStatus
-
The updated action plan status.
public com.ibm.ws.taskmanagement.task.DisplayTask getTask(long taskId
)
taskId
-
The ID of the task to get
public java.util.Set getTasks()
public java.util.Set getTasksByComponent(java.lang.String componentId
)
componentId
-
The ID of the task submitting component
public java.util.Set getTasksByTargetObjectContext(java.lang.String targetObjectContext
)
targetObjectContext
-
The config context of the target object
public java.util.Set getTasksBySeverity(byte severity
)
severity
-
The severity of the task to retrieve
public java.util.Set getPlannedTasks()
public java.util.Set getNonPlannedTasks()
public java.util.Set getTerminatedTasks()
public java.lang.Integer numberofActiveTasks(java.lang.String targetObjectContext
)
targetObjectContext
-
The config context of the target object
public com.ibm.ws.taskmanagement.task.TaskActionPlan getActionPlan(long taskId
)
taskId
-
The id of the task to retrieve the actionplan for
public com.ibm.ws.taskmanagement.task.TaskState getCurrentState(long taskId
)
taskId
-
The id of the task
public java.lang.Byte getGlobalSeverity(long taskId
)
taskId
-
The id of the task
public void delete(long taskId
)
taskId
-
A task ID that identifies one task to be deleted
public void delete([J taskIds
)
taskIds
-
An array of task IDs that identifies tasks to be deleted
public void addPolicy(com.ibm.ws.taskmanagement.task.TaskPolicy policy,
long taskId
)
policy
-
A policy that is to be added to a tasktaskId
-
A task ID that identifies one task to which a policy is to be added
public void removePolicy(com.ibm.ws.taskmanagement.task.TaskPolicy policy,
long taskId
)
policy
-
A policy that is to be removed from a tasktaskId
-
A task ID that identifies one task from which a policy is to be removed
public java.util.List getPolicies(long taskId
)
taskId
-
A task ID that identifies one task for which all policies should be listedNotification Detail |