Package | Description |
---|---|
com.broadleafcommerce.metadata.route.builder |
Modifier and Type | Class and Description |
---|---|
static class |
RouteSpec.RouteBooleanSpec
A specification extension for
RouteSpec that provides an entry-point to chain
together predicates through methods RouteSpec.RouteBooleanSpec.and() , RouteSpec.RouteBooleanSpec.or() , and RouteSpec.RouteBooleanSpec.negate() . |
static class |
RouteSpec.RouteBooleanSpec.RouteBooleanOpSpec
A specification extension for
RouteSpec that is returned by
RouteSpec.RouteBooleanSpec as a way of completing a predicate chain. |
Modifier and Type | Method and Description |
---|---|
RouteSpec |
RouteSpec.clearScopes()
Clears the scopes for the route.
|
RouteSpec |
RouteSpec.componentId(String componentId)
Sets the component ID of the route.
|
RouteSpec |
RouteSpec.componentName(String componentName)
Sets the component name of the route.
|
RouteSpec |
RouteSpec.exact(boolean exact)
Sets whether or not the route must match exactly.
|
RouteSpec |
RouteSpec.order(int order)
Sets the absolute ordering of the route.
|
RouteSpec |
RouteSpec.path(String path)
Sets the path of the route.
|
RouteSpec |
RouteSpec.scope(String scope)
Adds the scope to the route.
|
RouteSpec |
RouteSpec.scopes(List<String> scopes)
Sets the scopes for the route.
|
Modifier and Type | Method and Description |
---|---|
RoutesSpec |
RoutesSpec.route(Function<RouteSpec,RouteSpec> fn)
Adds a new
RouteSpec configured by the provided function. |
RoutesSpec |
RoutesSpec.route(Function<RouteSpec,RouteSpec> fn)
Adds a new
RouteSpec configured by the provided function. |
RoutesSpec |
RoutesSpec.route(String path,
Function<RouteSpec,RouteSpec> fn)
Adds a new
RouteSpec with the provided path and configured by the provided function. |
RoutesSpec |
RoutesSpec.route(String path,
Function<RouteSpec,RouteSpec> fn)
Adds a new
RouteSpec with the provided path and configured by the provided function. |
Copyright © 2021. All rights reserved.