public final class ConfigurationElementDeclaration extends ParameterizedElementDeclaration implements GlobalElementDeclaration
ConfigurationModel configuration.declaringExtension, name| Constructor and Description |
|---|
ConfigurationElementDeclaration() |
ConfigurationElementDeclaration(String extension,
String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(GlobalElementDeclarationVisitor visitor)
Dispatches to the method with prefix "visit" with the specific value type as argument.
|
boolean |
equals(Object o) |
<T extends ElementDeclaration> |
findElement(List<String> parts)
Looks for a
ParameterElementDeclaration contained by this declaration
based on the parts of a Location. |
Optional<ConnectionElementDeclaration> |
getConnection() |
String |
getRefName() |
int |
hashCode() |
void |
setConnection(ConnectionElementDeclaration connection) |
void |
setRefName(String referableName)
Sets the configured name of the element that can be used to reference
it in the context of an
ArtifactDeclaration |
addParameterGroup, getParameterGroup, getParameterGroupsaddCustomConfigurationParameter, addMetadataProperty, getCustomConfigurationParameters, getMetadataProperties, getMetadataPropertygetDeclaringExtension, getName, setDeclaringExtension, setNameclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitaddCustomConfigurationParameter, getCustomConfigurationParametersgetDeclaringExtension, setDeclaringExtensiongetName, setNameaddMetadataProperty, getMetadataProperties, getMetadataPropertypublic String getRefName()
getRefName in interface ReferableElementDeclarationArtifactDeclarationpublic void setRefName(String referableName)
ArtifactDeclarationsetRefName in interface ReferableElementDeclarationreferableName - the configured name of the elementpublic Optional<ConnectionElementDeclaration> getConnection()
ConnectionElementDeclaration of this configuratpublic void setConnection(ConnectionElementDeclaration connection)
public <T extends ElementDeclaration> Optional<T> findElement(List<String> parts)
ParameterElementDeclaration contained by this declaration
based on the parts of a Location.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 ParameterizedElementDeclarationpublic void accept(GlobalElementDeclarationVisitor visitor)
GlobalElementDeclarationvisitObjectValue(ParameterObjectValue objectValue) will be called
when this value is an GlobalElementDeclaration.accept in interface GlobalElementDeclarationvisitor - the visitorCopyright © 2017 MuleSoft, Inc.. All rights reserved.