@Generated(value="jsii-pacmak/1.39.0 (build 8af72c2)", date="2021-10-16T01:28:32.612Z") @Stability(value=Stable) public class DependencyVertex extends software.amazon.jsii.JsiiObject
The value of each vertex is an IConstruct
that is accessible via the .value
getter.
Modifier | Constructor and Description |
---|---|
|
DependencyVertex() |
|
DependencyVertex(software.constructs.IConstruct value) |
protected |
DependencyVertex(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
DependencyVertex(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
void |
addChild(DependencyVertex dep)
Adds a vertex as a dependency of the current node.
|
List<DependencyVertex> |
getInbound()
Returns the parents of the vertex (i.e dependants).
|
List<DependencyVertex> |
getOutbound()
Returns the children of the vertex (i.e dependencies).
|
software.constructs.IConstruct |
getValue()
Returns the IConstruct this graph vertex represents.
|
List<software.constructs.IConstruct> |
topology()
Returns a topologically sorted array of the constructs in the sub-graph.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
protected DependencyVertex(software.amazon.jsii.JsiiObjectRef objRef)
protected DependencyVertex(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable) public DependencyVertex(@Nullable software.constructs.IConstruct value)
value
- @Stability(value=Stable) public DependencyVertex()
@Stability(value=Stable) public void addChild(@NotNull DependencyVertex dep)
Also updates the parents of dep
, so that it contains this node as a parent.
This operation will fail in case it creates a cycle in the graph.
dep
- The dependency. This parameter is required.@Stability(value=Stable) @NotNull public List<software.constructs.IConstruct> topology()
@Stability(value=Stable) @NotNull public List<DependencyVertex> getInbound()
@Stability(value=Stable) @NotNull public List<DependencyVertex> getOutbound()
@Stability(value=Stable) @Nullable public software.constructs.IConstruct getValue()
null
in case this is the root of the graph.
Copyright © 2021. All rights reserved.