@NoImplement public interface HasNestedRoutesDeclaration<T extends BaseElementDeclarer>
RouteElementDeclaration
through a fluent APIModifier and Type | Method and Description |
---|---|
T |
withRoute(RouteElementDeclaration declaration)
Adds a
component to the declaration being built |
T |
withRoute(String name,
Consumer<RouteElementDeclarer> declarationEnricher)
Adds a
component to the declaration being built |
T withRoute(RouteElementDeclaration declaration)
component
to the declaration being builtdeclaration
- the component
to addthis
declarerT withRoute(String name, Consumer<RouteElementDeclarer> declarationEnricher)
component
to the declaration being builtname
- the name
of the new RouteElementDeclaration
declarationEnricher
- an enricher that should populate the given
RouteElementDeclarer
with the route configurationthis
declarerCopyright © 2018. All rights reserved.