Package com.adobe.granite.taskmanagement
Interface TaskManagerFactory
-
public interface TaskManagerFactory
The TaskManagerFactory interface defines methods to instantiate various classes for TaskManager.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Task
newTask(java.lang.String taskTypeName)
Creates a new task instance with the given task type name.TaskAction
newTaskAction(java.lang.String taskActionId)
Creates a new TaskAction instance with the given action Id.
-
-
-
Method Detail
-
newTask
Task newTask(java.lang.String taskTypeName) throws TaskManagerException
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
TaskAction newTaskAction(java.lang.String taskActionId)
Creates a new TaskAction instance with the given action Id.- Parameters:
taskActionId
- the id for this task action- Returns:
- a TaskAction object.
-
-