public final class RouterElementDeclaration extends ComponentElementDeclaration
RouterModel configuration.declaringExtension, name| Constructor and Description |
|---|
RouterElementDeclaration() |
RouterElementDeclaration(String extension,
String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
addRoute(RouteElementDeclaration route)
|
boolean |
equals(Object o) |
<T extends ElementDeclaration> |
findElement(List<String> parts)
|
List<RouteElementDeclaration> |
getRoutes() |
int |
hashCode() |
getConfigRef, setConfigRefaddParameterGroup, getParameterGroup, getParameterGroupsaddCustomConfigurationParameter, addMetadataProperty, getCustomConfigurationParameters, getMetadataProperties, getMetadataPropertygetDeclaringExtension, getName, setDeclaringExtension, setNamepublic List<RouteElementDeclaration> getRoutes()
routes this RouterElementDeclaration
can handle.public void addRoute(RouteElementDeclaration route)
route - public <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 ComponentElementDeclarationpublic int hashCode()
hashCode in class ComponentElementDeclarationCopyright © 2017 MuleSoft, Inc.. All rights reserved.