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 Construct
build()
static Construct.Builder
create(Construct scope, String id)
Construct.Builder
nodeFactory(INodeFactory nodeFactory)
A factory for attachingNode
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 attachingNode
s to the construct.Default: - the default `Node` is associated
- Parameters:
nodeFactory
- A factory for attachingNode
s to the construct. This parameter is required.- Returns:
this
-
-