public final class ArtifactDeclaration extends EnrichableElementDeclaration
declaringExtension, name| Constructor and Description |
|---|
ArtifactDeclaration() |
| Modifier and Type | Method and Description |
|---|---|
ArtifactDeclaration |
addGlobalElement(GlobalElementDeclaration declaration)
Adds a property to the
ElementDeclaration. |
boolean |
equals(Object o) |
<T extends ElementDeclaration> |
findElement(Location location)
|
List<GlobalElementDeclaration> |
getGlobalElements() |
int |
hashCode() |
addCustomConfigurationParameter, addMetadataProperty, getCustomConfigurationParameters, getMetadataProperties, getMetadataPropertygetDeclaringExtension, getName, setDeclaringExtension, setNamepublic List<GlobalElementDeclaration> getGlobalElements()
List of global elements associated with this
ArtifactDeclarationpublic ArtifactDeclaration addGlobalElement(GlobalElementDeclaration declaration)
ElementDeclaration. This property is meant to hold only metadata of the declaration.declaration - the GlobalElementDeclaration to add.public <T extends ElementDeclaration> Optional<T> findElement(Location location)
location - the absolute Location of the ElementDeclaration as part of this
ArtifactDeclarationElementDeclaration located by the given Location or Optional.empty() if no
ElementDeclaration was found in that location.public boolean equals(Object o)
equals in class EnrichableElementDeclarationpublic int hashCode()
hashCode in class EnrichableElementDeclarationCopyright © 2022 MuleSoft, Inc.. All rights reserved.