Package com.adobe.granite.taskmanagement
Interface TaskManagerFactory
-
public interface TaskManagerFactoryThe TaskManagerFactory interface defines methods to instantiate various classes for TaskManager.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TasknewTask(java.lang.String taskTypeName)Creates a new task instance with the given task type name.TaskActionnewTaskAction(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.
-
-