Class Sequence

  • All Implemented Interfaces:
    java.io.Serializable

    public class Sequence
    extends java.lang.Object
    implements java.io.Serializable
    Sequences are a series of one or more Step's that perform one logical unit of operation. Steps within a Sequence are executed in order. State is shared between sequences via the Session. This allows sequences to pass request scoped state between Step invocations.

    Sequences form the basis of a timed operation.

    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      Sequence​(java.lang.String name, int id, int concurrency, int offset, Step[] steps)  
    • Constructor Detail

      • Sequence

        public Sequence​(java.lang.String name,
                        int id,
                        int concurrency,
                        int offset,
                        Step[] steps)
    • Method Detail

      • id

        public int id()
      • concurrency

        public int concurrency()
      • offset

        public int offset()
        Returns:
        Index for first instance for cases where we need an array of all concurrent instances.
      • reserve

        public void reserve​(Session session)
      • name

        public java.lang.String name()
      • steps

        public Step[] steps()