All Packages Class Hierarchy This Package Previous Next Index
Class com.sgi.sysadm.ui.event.TaskLaunchRequestEvent
java.lang.Object
|
+----java.util.EventObject
|
+----com.sgi.sysadm.ui.event.TaskLaunchRequestEvent
- public class TaskLaunchRequestEvent
- extends EventObject
An object that specifies an Task. From the data contained in
this object, a TaskLaunchRequestListener can
create an Task of the type that the source is
requesting be launched.
See the TaskLaunchRequestListener documentation about how this
event is used.
- See Also:
- TaskLaunchRequestListener, Task
-
TaskLaunchRequestEvent(Object, TaskLoader)
-
Constructor to use when there are no operands or TaskData to
pass to the new Task.
-
TaskLaunchRequestEvent(Object, TaskLoader, Item)
- Constructor to use when there is an Item to pass to the new
Task as an operand.
-
TaskLaunchRequestEvent(Object, TaskLoader, Vector, TaskData)
- Constructor to use when there are operands or TaskData to pass
to the new Task.
-
getOperands()
- Get the operands to pass to the Task.
-
getTaskData()
- Get the TaskData attributes to set on the Task.
-
getTaskLoader()
-
Get the TaskLoader representing the task to be launched.
-
setOperands(Vector)
- Set the operands to pass to the Task.
-
setTaskData(TaskData)
- Set the TaskData attributes to set on the Task.
TaskLaunchRequestEvent
public TaskLaunchRequestEvent(Object source,
TaskLoader taskLoader,
Vector operands,
TaskData taskData)
- Constructor to use when there are operands or TaskData to pass
to the new Task.
- Parameters:
- source - The source of the event.
- taskLoader - The TaskLoader representing the task to be launched.
- operands - A Vector of Object containing the set of operands to
pass to the Task. operands may be null or
empty if there are no operands to pass.
- taskData - TaskData containing the TaskData attributes to set on
the new Task. taskData may be null or empty if
there are no attributes to set.
TaskLaunchRequestEvent
public TaskLaunchRequestEvent(Object source,
TaskLoader taskLoader,
Item item)
- Constructor to use when there is an Item to pass to the new
Task as an operand.
- Parameters:
- source - The source of this event.
- taskLoader - The TaskLoader representing the task to be launched.
- item - An Item to be passed to the Task as an operand.
TaskLaunchRequestEvent
public TaskLaunchRequestEvent(Object source,
TaskLoader taskLoader)
- Constructor to use when there are no operands or TaskData to
pass to the new Task.
- Parameters:
- source - The source of this event.
- taskLoader - The TaskLoader representing the task to be launched.
getTaskLoader
public TaskLoader getTaskLoader()
- Get the TaskLoader representing the task to be launched.
- Returns:
- A TaskLoader
getOperands
public Vector getOperands()
- Get the operands to pass to the Task.
- Returns:
- A Vector of objects to pass to the Task. Will be null if there
are no operands.
setOperands
public void setOperands(Vector operands)
- Set the operands to pass to the Task.
- Parameters:
- operands - A Vector of Objects to pass to the Task as operands.
May be null or empty if there are no operands to pass.
getTaskData
public TaskData getTaskData()
- Get the TaskData attributes to set on the Task.
- Returns:
- TaskData containing the attributes to set on the Task.
Will be null if there are no attributes to set.
setTaskData
public void setTaskData(TaskData taskData)
- Set the TaskData attributes to set on the Task.
- Parameters:
- taskData - TaskData containing the attributes to set on the Task.
May be null or empty if there are no attributes to set.
All Packages Class Hierarchy This Package Previous Next Index