public class FilteredArtifactAst extends Object implements ArtifactAst
| Constructor and Description |
|---|
FilteredArtifactAst(ArtifactAst fullArtifactAst,
Predicate<ComponentAst> componentFilter) |
| Modifier and Type | Method and Description |
|---|---|
Spliterator<ComponentAst> |
recursiveSpliterator() |
Stream<ComponentAst> |
recursiveStream() |
Spliterator<ComponentAst> |
topLevelComponentsSpliterator() |
Stream<ComponentAst> |
topLevelComponentsStream() |
public FilteredArtifactAst(ArtifactAst fullArtifactAst, Predicate<ComponentAst> componentFilter)
public Stream<ComponentAst> recursiveStream()
recursiveStream in interface ArtifactAstStream for this component and its children recursively that navigates the whole AST.public Spliterator<ComponentAst> recursiveSpliterator()
recursiveSpliterator in interface ArtifactAstSpliterator for this component and its children recursively that navigates the whole AST.public Stream<ComponentAst> topLevelComponentsStream()
topLevelComponentsStream in interface ArtifactAstStream for the top-level components (i.e.: configs, flows) of the artifact represented by this AST.public Spliterator<ComponentAst> topLevelComponentsSpliterator()
topLevelComponentsSpliterator in interface ArtifactAstSpliterator for the top-level components (i.e.: configs, flows) of the artifact represented by this AST.Copyright © 2021 MuleSoft, Inc.. All rights reserved.