Class AbstractFlowGenerator<T extends Actor>

    • Field Detail

      • m_Owner

        protected T extends Actor m_Owner
        the owner.
    • Constructor Detail

      • AbstractFlowGenerator

        public AbstractFlowGenerator()
    • Method Detail

      • setOwner

        public void setOwner​(T value)
        Sets the owner.
        Specified by:
        setOwner in interface Generator<T extends Actor>
        Parameters:
        value - the owner of this generator
      • getOwner

        public T getOwner()
        Returns the owner.
        Specified by:
        getOwner in interface Generator<T extends Actor>
        Returns:
        the owner, null if none set
      • check

        protected void check()
        Hook method for checks before generating the flow.

        Checks for owner.
      • doGenerate

        protected abstract Actor doGenerate()
        Generates the flow.
        Returns:
        the flow
      • generate

        public Actor generate()
        Generates the flow and returns it.
        Specified by:
        generate in interface Generator<T extends Actor>
        Returns:
        the generated flow