Interface TaskManagerFactory


public interface TaskManagerFactory
The TaskManagerFactory interface defines methods to instantiate various classes for TaskManager.
  • Method Summary

    Modifier and Type
    Method
    Description
    newTask(String taskTypeName)
    Creates 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

      Task newTask(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(String taskActionId)
      Creates a new TaskAction instance with the given action Id.
      Parameters:
      taskActionId - the id for this task action
      Returns:
      a TaskAction object.