Class RootNode
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- software.aws.awsprototypingsdk.cdkgraph.BaseEntity
-
- software.aws.awsprototypingsdk.cdkgraph.Node
-
- software.aws.awsprototypingsdk.cdkgraph.RootNode
-
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,ISerializableEntity,ISerializableNode
@Generated(value="jsii-pacmak/1.82.0 (build 2d2ddd7)", date="2023-08-24T23:07:44.486Z") @Stability(Experimental) public class RootNode extends Node
(experimental) RootNode represents the root of the store tree.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface software.aws.awsprototypingsdk.cdkgraph.ISerializableEntity
ISerializableEntity.Jsii$Default
-
Nested classes/interfaces inherited from interface software.aws.awsprototypingsdk.cdkgraph.ISerializableNode
ISerializableNode.Jsii$Default, ISerializableNode.Jsii$Proxy
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Node>findAll()(experimental) Return this construct and all of its sub-nodes in the given order.List<Node>findAll(IFindNodeOptions options)(experimental) Return this construct and all of its sub-nodes in the given order.static BooleanisRootNode(Node node)(experimental) Indicates if node is aRootNode.voidmutateCollapse()(experimental) Collapses all sub-nodes of this node into this node.NodemutateCollapseTo(Node _ancestor)(experimental) Collapses *this node* into *an ancestor* >RootNodedoes not support this mutation.NodemutateCollapseToParent()(experimental) Collapses *this node* into *it's parent node* >RootNodedoes not support this mutation.voidmutateDestroy()(experimental) Destroys this node by removing all references and removing this node from the store.voidmutateDestroy(Boolean _strict)(experimental) Destroys this node by removing all references and removing this node from the store.voidmutateHoist(Node _newParent)(experimental) Hoist this node to an ancestor by removing it from its current parent node and in turn moving it to the ancestor.-
Methods inherited from class software.aws.awsprototypingsdk.cdkgraph.Node
addChild, addLink, addReverseLink, doesDependOn, doesReference, find, findAllLinks, findAllLinks, findAncestor, findAncestor, findChild, findLink, findLink, findLink, findLink, findLinks, findLinks, findLinks, findLinks, getAllowDestructiveMutations, getCfnProp, getCfnProps, getCfnType, getChild, getChildren, getConstructInfo, getConstructInfoFqn, getDependedOnBy, getDependencies, getDependencyLinks, getDepth, getId, getIsAsset, getIsCfnFqn, getIsCluster, getIsCustomResource, getIsExtraneous, getIsGraphContainer, getIsLeaf, getIsTopLevel, getLinkChains, getLinkChains, getLinks, getLogicalId, getNearestAncestor, getNodeType, getParent, getPath, getReferencedBy, getReferenceLinks, getReferences, getReverseDependencyLinks, getReverseLinks, getReverseReferenceLinks, getRootStack, getScopes, getSiblings, getStack, isAncestor, isChild, mutateMove, mutateRemoveChild, mutateRemoveLink, mutateRemoveReverseLink, mutateUncluster, toString
-
Methods inherited from class software.aws.awsprototypingsdk.cdkgraph.BaseEntity
addAttribute, addFlag, addMetadata, addTag, applyData, applyData, applyData, findMetadata, getAttribute, getAttributes, getFlags, getIsDestroyed, getIsMutated, getMetadata, getStore, getTag, getTags, getUuid, hasAttribute, hasAttribute, hasFlag, hasMetadata, hasTag, hasTag, setAttribute, setTag
-
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
-
-
-
Constructor Detail
-
RootNode
protected RootNode(software.amazon.jsii.JsiiObjectRef objRef)
-
RootNode
protected RootNode(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
RootNode
@Stability(Experimental) public RootNode(@NotNull Store store)- Parameters:
store- Reference to the store. This parameter is required.
-
-
Method Detail
-
isRootNode
@Stability(Experimental) @NotNull public static Boolean isRootNode(@NotNull Node node)
(experimental) Indicates if node is aRootNode.- Parameters:
node- This parameter is required.
-
findAll
@Stability(Experimental) @NotNull public List<Node> findAll(@Nullable IFindNodeOptions options)
(experimental) Return this construct and all of its sub-nodes in the given order.Optionally filter nodes based on predicate. The root not is excluded from list
-
findAll
@Stability(Experimental) @NotNull public List<Node> findAll()
(experimental) Return this construct and all of its sub-nodes in the given order.Optionally filter nodes based on predicate. The root not is excluded from list
-
mutateCollapse
@Stability(Experimental) public void mutateCollapse()
(experimental) Collapses all sub-nodes of this node into this node.>
RootNodedoes not support this mutation- Overrides:
mutateCollapsein classNode
-
mutateCollapseTo
@Stability(Experimental) @NotNull public Node mutateCollapseTo(@NotNull Node _ancestor)
(experimental) Collapses *this node* into *an ancestor* >RootNodedoes not support this mutation.- Overrides:
mutateCollapseToin classNode- Parameters:
_ancestor- This parameter is required.
-
mutateCollapseToParent
@Stability(Experimental) @NotNull public Node mutateCollapseToParent()
(experimental) Collapses *this node* into *it's parent node* >RootNodedoes not support this mutation.- Overrides:
mutateCollapseToParentin classNode
-
mutateDestroy
@Stability(Experimental) public void mutateDestroy(@Nullable Boolean _strict)(experimental) Destroys this node by removing all references and removing this node from the store.>
RootNodedoes not support this mutation- Overrides:
mutateDestroyin classNode- Parameters:
_strict-
-
mutateDestroy
@Stability(Experimental) public void mutateDestroy()
(experimental) Destroys this node by removing all references and removing this node from the store.>
RootNodedoes not support this mutation- Overrides:
mutateDestroyin classNode
-
mutateHoist
@Stability(Experimental) public void mutateHoist(@NotNull Node _newParent)(experimental) Hoist this node to an ancestor by removing it from its current parent node and in turn moving it to the ancestor.>
RootNodedoes not support this mutation- Overrides:
mutateHoistin classNode- Parameters:
_newParent- This parameter is required.
-
-