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