public abstract class ComponentElementDeclaration<T extends ComponentElementDeclaration> extends ParameterizedElementDeclaration implements ElementDeclarationContainer
ComponentModel configuration.declaringExtension, name| Constructor and Description |
|---|
ComponentElementDeclaration() |
| Modifier and Type | Method and Description |
|---|---|
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 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 boolean equals(Object o)
equals in class ParameterizedElementDeclarationpublic int hashCode()
hashCode in class ParameterizedElementDeclarationCopyright © 2017 MuleSoft, Inc.. All rights reserved.