Class Sequence


  • public class Sequence
    extends Processor
    Implements a process which is executed sequentially.
    • Constructor Summary

      Constructors 
      Constructor Description
      Sequence()
      Constructs a new instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Sequence add​(Processor processor)
      Adds the process to an asynchronous task processor.
      void process​(ProcessingType processingType)
      Executes the processes.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Sequence

        public Sequence()
        Constructs a new instance.
    • Method Detail

      • process

        public void process​(ProcessingType processingType)
        Description copied from class: Processor
        Executes the processes.
        Specified by:
        process in class Processor
        Parameters:
        processingType - the type of execution
      • add

        public Sequence add​(Processor processor)
        Adds the process to an asynchronous task processor.
        Parameters:
        processor - the processor
        Returns:
        the same instance