Class ContainerTask<T extends ContainerTask<?>>

  • All Implemented Interfaces:
    Task
    Direct Known Subclasses:
    BatchTask, SequenceTask

    public abstract class ContainerTask<T extends ContainerTask<?>>
    extends AbstractTask

    Abstract ContainerTask class.

    Version:
    $Id: $
    Author:
    ranger
    • Field Detail

    • Method Detail

      • addPrerequisite

        public void addPrerequisite​(AbstractTask task)
        Adds prereq as a Prerequisite of this task. In other words, this task cannot run until prereq has been completed.
        Overrides:
        addPrerequisite in class AbstractTask
        Parameters:
        task - a AbstractTask object.
      • add

        public void add​(AbstractTask task)

        add

        Parameters:
        task - a Task object.
      • add

        public void add​(RunInBatch runInBatch)

        add

        Parameters:
        runInBatch - a RunInBatch object.
      • getTriggerTask

        protected AbstractTask getTriggerTask()

        getTriggerTask

        Returns:
        a Task object.
      • completeSubmit

        protected void completeSubmit()
        This method exists to allow a task to have no processing
        Overrides:
        completeSubmit in class AbstractTask
      • add

        public SyncTask add​(java.lang.Runnable runnable)

        add

        Parameters:
        runnable - a Runnable object.
        Returns:
        a SyncTask object.
      • add

        public SyncTask add​(java.lang.Runnable runnable,
                            java.lang.String schedulingHint)

        add

        Parameters:
        runnable - a Runnable object.
        schedulingHint - a String object.
        Returns:
        a SyncTask object.
      • addChildDependencies

        protected void addChildDependencies​(AbstractTask child)

        addChildDependencies

        Parameters:
        child - a AbstractTask object.