Interface Meta<A,​B>

  • Type Parameters:
    A - the model type
    B - the result type

    public interface Meta<A,​B>
    Meta information about the generation process.
    Since:
    2.0
    Author:
    Emil Forslund
    • Method Detail

      • getModel

        A getModel()
        The model that was sent to the generator.
        Returns:
        the model
      • getResult

        B getResult()
        The result that was produced by the generator.
        Returns:
        the model
      • getTransform

        Transform<A,​B> getTransform()
        The transform that was used to produce the result.
        Returns:
        the transform
      • getFactory

        TransformFactory getFactory()
        The factory that created the transform.
        Returns:
        the factory
      • getRenderStack

        RenderStack getRenderStack()
        The render stack that represents which generation processes is waiting for this result.
        Returns:
        the current render stack
      • getRenderTree

        RenderTree getRenderTree()
        Returns a tree representation of the current rendering process.
        Returns:
        the rendering tree
      • builder

        static <A,​B> Meta.Builder<A,​B> builder​(A model,
                                                           B result)
        Returns a new builder.
        Type Parameters:
        A - the model type
        B - the result type
        Parameters:
        model - the model
        result - the result
        Returns:
        the builder instance.