public abstract class BaseComponentAst extends Object implements ComponentAst
ComponentAst. It is agnostic from data, and it implements default behavior.| Constructor and Description |
|---|
BaseComponentAst() |
| Modifier and Type | Method and Description |
|---|---|
Spliterator<ComponentAst> |
directChildrenSpliterator()
This method will NOT traverse any complex parameters this component has.
|
Stream<ComponentAst> |
directChildrenStream() |
protected ComponentParameterAst |
doGetParameter(Collection<ComponentParameterAst> parameters,
String groupName,
String paramName) |
ComponentParameterAst |
getParameter(String groupName,
String paramName) |
Spliterator<ComponentAst> |
recursiveSpliterator()
This method will also traverse the complex parameters in each component.
|
Spliterator<ComponentAst> |
recursiveSpliterator(AstTraversalDirection direction)
This method will also traverse the complex parameters in each component.
|
Stream<ComponentAst> |
recursiveStream()
This method will also traverse the complex parameters in each component.
|
Stream<ComponentAst> |
recursiveStream(AstTraversalDirection direction)
This method will also traverse the complex parameters in each component.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdirectChildren, directChildrenStreamByIdentifier, getAnnotations, getComponentId, getComponentType, getExtensionModel, getGenerationInformation, getIdentifier, getLocation, getMetadata, getModel, getParameters, getTypepublic Stream<ComponentAst> recursiveStream()
ComponentAstrecursiveStream in interface ComponentAstStream for this component and its children recursively that navigates the whole AST using TOP_DOWN
direction.public Spliterator<ComponentAst> recursiveSpliterator()
ComponentAstrecursiveSpliterator in interface ComponentAstSpliterator for this component and its children recursively that navigates the whole AST using
TOP_DOWN direction.public Stream<ComponentAst> recursiveStream(AstTraversalDirection direction)
ComponentAstrecursiveStream in interface ComponentAstdirection - the @{link AstTraversalDirection} used to navigate the whole AST.Stream for this component and its children recursively that navigates the whole AST using the given @{code
direction}.public Spliterator<ComponentAst> recursiveSpliterator(AstTraversalDirection direction)
ComponentAstrecursiveSpliterator in interface ComponentAstdirection - the @{link AstTraversalDirection} used to navigate the whole AST.Spliterator for this component and its children recursively that navigates the whole AST using the
given @{code direction}.public Stream<ComponentAst> directChildrenStream()
directChildrenStream in interface ComponentAstStream for this component's children.public Spliterator<ComponentAst> directChildrenSpliterator()
ComponentAstdirectChildrenSpliterator in interface ComponentAstSpliterator for this component's children.public ComponentParameterAst getParameter(String groupName, String paramName)
getParameter in interface ComponentAstgroupName - the name of the parameterGroup to get AST for.paramName - the name of the parameter to get AST for.groupName and paramName.protected ComponentParameterAst doGetParameter(Collection<ComponentParameterAst> parameters, String groupName, String paramName)
Copyright © 2022 MuleSoft, Inc.. All rights reserved.