Class DefaultTaskService

    • Constructor Detail

      • DefaultTaskService

        public DefaultTaskService()
    • Method Detail

      • createTask

        public Task createTask​(String name)
        Description copied from interface: TaskService
        Creates a new, empty Task. It is the responsibility of the caller to then launch the task via the Task.run(Runnable) method.
        Specified by:
        createTask in interface TaskService
        Parameters:
        name - The task's name, to differentiate it from others.
        Returns:
        A newly created task which awaits execution.