Class FJTask.Seq

  • All Implemented Interfaces:
    java.lang.Runnable
    Enclosing class:
    FJTask

    public static class FJTask.Seq
    extends FJTask
    A new Seq, when executed, invokes each task provided in the constructor, in order. The class is a simple utility that makes it easier to create composite FJTasks.
    • Field Detail

      • tasks

        protected final FJTask[] tasks
    • Constructor Detail

      • Seq

        public Seq​(FJTask[] tasks)
        Construct a Seq that, when executed, will process each of the tasks in the tasks array in order
      • Seq

        public Seq​(FJTask task1,
                   FJTask task2)
        Two-task constructor, for compatibility with previous release.
    • Method Detail

      • run

        public void run()