Class MuleApplicationNode
java.lang.Object
org.mule.datasense.impl.model.ast.MuleApplicationNode
- All Implemented Interfaces:
AstNode
-
Constructor Summary
ConstructorsConstructorDescriptionMuleApplicationNode(org.mule.runtime.api.component.ComponentIdentifier componentIdentifier, Stream<MuleFlowNode> muleFlowNodes) -
Method Summary
Modifier and TypeMethodDescription<T> Objectaccept(AstNodeVisitor<T> astNodeVisitor, T context) <T extends AstNodeAnnotation>
voidannotate(T annotation) <T extends AstNodeAnnotation>
Optional<T>deannotate(Class<T> annotation) Optional<org.mule.runtime.api.component.location.ComponentLocation>findMessageProcessorNode(String location) findMessageProcessorNode(org.mule.runtime.api.component.location.Location location) findMessageProcessorNodes(boolean includeRoot) findMuleFlowNode(String flow) <T extends AstNodeAnnotation>
Optional<T>getAnnotation(Class<T> annotation) org.mule.runtime.api.component.ComponentIdentifiergetName()<T extends AstNodeAnnotation>
TgetOrCreateAnnotation(Class<T> annotationClass, Supplier<T> supplier) <T extends AstNodeAnnotation>
booleanisAnnotatedWith(Class<T> annotationClass) <T extends AstNodeAnnotation>
voidreannotate(T annotation) voidregister(org.mule.runtime.api.component.location.ComponentLocation componentLocation, MessageProcessorNode messageProcessorNode) voidsetAstNodeLocation(AstNodeLocation astNodeLocation) void
-
Constructor Details
-
MuleApplicationNode
public MuleApplicationNode(org.mule.runtime.api.component.ComponentIdentifier componentIdentifier, Stream<MuleFlowNode> muleFlowNodes)
-
-
Method Details
-
getMuleFlowNodes
-
accept
-
register
public void register(org.mule.runtime.api.component.location.ComponentLocation componentLocation, MessageProcessorNode messageProcessorNode) -
findMessageProcessorNode
-
findComponentLocationByName
-
findMessageProcessorNodeByName
-
findMessageProcessorNode
public Optional<MessageProcessorNode> findMessageProcessorNode(org.mule.runtime.api.component.location.Location location) -
findMuleFlowNode
-
findMessageProcessorNodes
-
findMessageProcessorNodes
-
getName
-
setName
-
getAstNodeLocation
- Specified by:
getAstNodeLocationin interfaceAstNode
-
setAstNodeLocation
-
getIdentifier
public org.mule.runtime.api.component.ComponentIdentifier getIdentifier()- Specified by:
getIdentifierin interfaceAstNode
-
getAnnotations
- Specified by:
getAnnotationsin interfaceAstNode
-
getAnnotation
- Specified by:
getAnnotationin interfaceAstNode
-
annotate
-
isAnnotatedWith
- Specified by:
isAnnotatedWithin interfaceAstNode
-
getOrCreateAnnotation
public <T extends AstNodeAnnotation> T getOrCreateAnnotation(Class<T> annotationClass, Supplier<T> supplier) -
deannotate
-
reannotate
-