Class ActionSequence

java.lang.Object
monq.jfa.actions.ActionSequence
All Implemented Interfaces:
Action

public class ActionSequence extends Object implements Action
Convenience wrapper to run a list of Actions in sequence.
  • Constructor Details

    • ActionSequence

      public ActionSequence(Action a)
    • ActionSequence

      public ActionSequence(Action a0, Action a1)
    • ActionSequence

      public ActionSequence(List<Action> actions)
  • Method Details

    • add

      public ActionSequence add(Action action)
    • getAll

      public List<Action> getAll()
    • invoke

      public void invoke(StringBuilder out, int start) throws CallbackException
      Description copied from interface: Action
      Will be called with new data appended to the given StringBuilder. The method is free to work in any way with the whole text content, not only the new part demarcated by the start parameter.
      Specified by:
      invoke in interface Action
      Parameters:
      out - contains new data at its end
      start - where the new data starts
      Throws:
      CallbackException - if things go wrong.
    • toString

      public String toString()
      Overrides:
      toString in class Object