Package software.constructs
Class Construct.Builder
- java.lang.Object
-
- software.constructs.Construct.Builder
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Constructbuild()static Construct.Buildercreate(Construct scope, String id)Construct.BuildernodeFactory(INodeFactory nodeFactory)A factory for attaching `Node`s to the construct.
-
-
-
Method Detail
-
create
@Stability(Stable) public static Construct.Builder create(Construct scope, String id)
- Parameters:
scope- The scope in which to define this construct. This parameter is required.id- The scoped construct ID. This parameter is required.- Returns:
- a new instance of
Construct.Builder.
-
nodeFactory
@Stability(Stable) public Construct.Builder nodeFactory(INodeFactory nodeFactory)
A factory for attaching `Node`s to the construct.Default: - the default `Node` is associated
- Parameters:
nodeFactory- A factory for attaching `Node`s to the construct. This parameter is required.- Returns:
this
-
-