Package com.adobe.granite.taskmanagement
Interface TaskManagerFactory
public interface TaskManagerFactory
The TaskManagerFactory interface defines methods to instantiate various classes for TaskManager.
-
Method Summary
Modifier and TypeMethodDescriptionCreates a new task instance with the given task type name.newTaskAction(String taskActionId) Creates a new TaskAction instance with the given action Id.
-
Method Details
-
newTask
Creates a new task instance with the given task type name.- Parameters:
taskTypeName- String containing the name of the type of task to create.- Returns:
- Task instance of the given type.
- Throws:
TaskManagerException- An error creating the new task instance.
-
newTaskAction
Creates a new TaskAction instance with the given action Id.- Parameters:
taskActionId- the id for this task action- Returns:
- a TaskAction object.
-