Interface Generator<T extends Actor>

  • Type Parameters:
    T - the type of actor that owns this generator
    All Known Implementing Classes:
    AbstractFlowGenerator, Template

    public interface Generator<T extends Actor>
    Generator interface for flow generators.
    Version:
    $Revision$
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    • Method Detail

      • setOwner

        void setOwner​(T value)
        Sets the owner.
        Parameters:
        value - the owner of this generator
      • getOwner

        T getOwner()
        Returns the owner.
        Returns:
        the owner, null if none set
      • generate

        Actor generate()
        Generates the flow and returns it.
        Returns:
        the generated flow