Package tigase.workgroupqueues.util.sequencer

# Class Sequencer

java.lang.Object
tigase.workgroupqueues.util.sequencer.Sequencer

All Implemented Interfaces:
  `RunCallback`

public abstract class Sequencer extends Object implements RunCallback

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Class
  Description
  `static interface`
  `Sequencer.Callback`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Sequencer()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Sequencer`
  `add(Collection<ISequenceAction> actions)`
  `Sequencer`
  `add(ISequenceAction... actions)`
  `Sequencer`
  `add(Sequencer sequencer)`
  `abstract void`
  `onFailure()`
  `abstract void`
  `onFinish()`
  `void`
  `run()`
  `void`
  `run(RunCallback callback)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### Sequencer

    public Sequencer()

- ## Method Details

  - ### add

    public Sequencer add(ISequenceAction... actions)

  - ### add

    public Sequencer add(Collection<ISequenceAction> actions)

  - ### add

    public Sequencer add(Sequencer sequencer)

  - ### onFailure

    public abstract void onFailure()
    Specified by:
      `onFailure` in interface `RunCallback`

  - ### onFinish

    public abstract void onFinish()
    Specified by:
      `onFinish` in interface `RunCallback`

  - ### run

    public void run()

  - ### run

    public void run(RunCallback callback)