com.microstrategy.web.tasks.TaskFactory |
![]() |
This interface represents a class that is a factory for a set of Task
classes.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
enum | TaskFactory.TaskCategory | Enumerations for task categories. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void |
destroy()
Instructs the factory to destroy any persistent data structures.
| ||||||||||
abstract List<String> |
getRegisteredTaskIDList(TaskFactory.TaskCategory taskCat)
Returns a List of registered task IDs in the specified task category.
| ||||||||||
abstract Iterator<String> |
getRegisteredTaskIDs(TaskFactory.TaskCategory taskCat)
Returns an Iterator of registered task IDs in the specified task category.
| ||||||||||
abstract void |
init(ContainerServices cntrSvcs)
Instructs the factory to initialize itself using the associated ContainerServices object.
| ||||||||||
abstract void |
init(ContainerServices cntrSvcs, TaskFactoryInfo config)
Instructs the factory to initialize itself using the associated ContainerServices and task factory configuration objects.
| ||||||||||
abstract Task |
newTask(String id)
Create a new instance of the Task whose identifier is 'id'.
|
Instructs the factory to destroy any persistent data structures.
Returns a List of registered task IDs in the specified task category.
taskCat | The TaskFactory.TaskCategory in which task IDs are being requested. |
---|
Returns an Iterator of registered task IDs in the specified task category.
taskCat | The TaskFactory.TaskCategory in which task IDs are being requested. |
---|
Instructs the factory to initialize itself using the associated ContainerServices object.
cntrSvcs | The ContainerServices object.
|
---|
Instructs the factory to initialize itself using the associated ContainerServices and task factory configuration objects.
cntrSvcs | The ContainerServices object. |
---|---|
config | The task factory configuration object |
Create a new instance of the Task whose identifier is 'id'.
id | The identifier of the Task to instantiate. |
---|
TaskException | If something fails in the creation of the task. |
---|