@NoExtend public abstract class ComponentElementDeclaration<T extends ComponentElementDeclaration> extends ParameterizedElementDeclaration implements ElementDeclarationContainer
org.mule.runtime.api.meta.model.ComponentModel configuration.declaringExtension, name| Constructor and Description |
|---|
ComponentElementDeclaration() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
accept(ComponentElementDeclarationVisitor visitor) |
void |
accept(ParameterizedElementDeclarationVisitor visitor) |
T |
addComponent(ComponentElementDeclaration declaration)
|
T |
addComponent(int index,
ComponentElementDeclaration declaration)
|
boolean |
equals(Object o) |
<T extends ElementDeclaration> |
findElement(List<String> parts)
|
List<ComponentElementDeclaration> |
getComponents() |
String |
getConfigRef() |
int |
hashCode() |
void |
setConfigRef(String configRef)
Sets the
config-ref parameter required for this component |
addParameterGroup, getParameterGroup, getParameterGroupsaddCustomConfigurationParameter, addMetadataProperty, getCustomConfigurationParameters, getMetadataProperties, getMetadataPropertygetDeclaringExtension, getName, setDeclaringExtension, setNamepublic abstract void accept(ComponentElementDeclarationVisitor visitor)
public void setConfigRef(String configRef)
config-ref parameter required for this componentconfigRef - the ReferableElementDeclaration.getRefName() of a ConfigurationElementDeclarationpublic String getConfigRef()
config-ref parameter associated to this componentpublic List<ComponentElementDeclaration> getComponents()
List of flows contained by this
ComponentElementDeclarationpublic T addComponent(ComponentElementDeclaration declaration)
declaration - the ComponentElementDeclaration child of this scopethis scopepublic T addComponent(int index, ComponentElementDeclaration declaration)
declaration - the ComponentElementDeclaration child of this scopethis scopepublic <T extends ElementDeclaration> Optional<T> findElement(List<String> parts)
findElement in interface ElementDeclarationContainerfindElement in class ParameterizedElementDeclarationparts - 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(ParameterizedElementDeclarationVisitor visitor)
accept in class ParameterizedElementDeclarationpublic boolean equals(Object o)
equals in class ParameterizedElementDeclarationpublic int hashCode()
hashCode in class ParameterizedElementDeclarationCopyright © 2022 MuleSoft, Inc.. All rights reserved.