public final class ConstructElementDeclaration extends ComponentElementDeclaration<ConstructElementDeclaration> implements GlobalElementDeclaration
declaringExtension, name| Constructor and Description |
|---|
ConstructElementDeclaration() |
ConstructElementDeclaration(String extension,
String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(ComponentElementDeclarationVisitor visitor) |
void |
accept(GlobalElementDeclarationVisitor visitor)
Dispatches to the method with prefix "visit" with the specific value type as argument.
|
<T extends ElementDeclaration> |
findElement(List<String> parts)
|
String |
getRefName() |
void |
setRefName(String referableName)
Sets the configured name of the element that can be used to reference it in the context of an
ArtifactDeclaration |
accept, addComponent, addComponent, equals, getComponents, getConfigRef, hashCode, setConfigRefaddParameterGroup, getParameterGroup, getParameterGroupsaddCustomConfigurationParameter, addMetadataProperty, getCustomConfigurationParameters, getMetadataProperties, getMetadataPropertygetDeclaringExtension, getName, setDeclaringExtension, setNameclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitaddCustomConfigurationParameter, getCustomConfigurationParametersgetDeclaringExtension, setDeclaringExtensiongetName, setNameaddMetadataProperty, getMetadataProperties, getMetadataPropertypublic void accept(ComponentElementDeclarationVisitor visitor)
accept in class ComponentElementDeclaration<ConstructElementDeclaration>public <T extends ElementDeclaration> Optional<T> findElement(List<String> parts)
findElement in interface ElementDeclarationContainerfindElement in class ComponentElementDeclaration<ConstructElementDeclaration>parts - the parts of a Location relative to this elementElementDeclaration located in the path created by the parts or Optional.empty() if no
ElementDeclaration was found in that location.public void accept(GlobalElementDeclarationVisitor visitor)
visitObjectValue(ParameterObjectValue objectValue) will be called when this value is an
GlobalElementDeclaration.accept in interface GlobalElementDeclarationvisitor - the visitorpublic String getRefName()
getRefName in interface ReferableElementDeclarationArtifactDeclarationpublic void setRefName(String referableName)
ArtifactDeclarationsetRefName in interface ReferableElementDeclarationreferableName - the configured name of the elementCopyright © 2022 MuleSoft, Inc.. All rights reserved.