Module com.speedment.common.codegen
Package com.speedment.common.codegen
Interface Meta.Builder<A,B>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Meta<A,B>build()Builds this instance.Meta.Builder<A,B>withFactory(TransformFactory factory)The factory that created the transform.Meta.Builder<A,B>withModel(A model)The model that was sent to the generator.Meta.Builder<A,B>withRenderStack(RenderStack stack)The render stack that represents which generation processes is waiting for this result.Meta.Builder<A,B>withRenderTree(RenderTree tree)Sets the tree that should represent the current rendering process.Meta.Builder<A,B>withResult(B result)The result that was produced by the generator.Meta.Builder<A,B>withTransform(Transform<A,B> transform)The transform that was used to produce the result.
-
-
-
Method Detail
-
withModel
Meta.Builder<A,B> withModel(A model)
The model that was sent to the generator.- Parameters:
model- the model- Returns:
- a reference to this builder
-
withResult
Meta.Builder<A,B> withResult(B result)
The result that was produced by the generator.- Parameters:
result- the result- Returns:
- a reference to this builder
-
withTransform
Meta.Builder<A,B> withTransform(Transform<A,B> transform)
The transform that was used to produce the result.- Parameters:
transform- the transform- Returns:
- a reference to this builder
-
withFactory
Meta.Builder<A,B> withFactory(TransformFactory factory)
The factory that created the transform.- Parameters:
factory- the factory- Returns:
- a reference to this builder
-
withRenderStack
Meta.Builder<A,B> withRenderStack(RenderStack stack)
The render stack that represents which generation processes is waiting for this result.- Parameters:
stack- the render stack- Returns:
- a reference to this builder
-
withRenderTree
Meta.Builder<A,B> withRenderTree(RenderTree tree)
Sets the tree that should represent the current rendering process.- Parameters:
tree- the render tree- Returns:
- a reference to this builder
-
-