Class RoutePredicate
java.lang.Object
com.broadleafcommerce.metadata.core.domain.RoutePredicate
- All Implemented Interfaces:
Serializable
A predicate that can be used to restrict a route depending on its configured arguments.
- Since:
- Admin Services 2.3.0, Release Train 2.2.2
- Author:
- Julia Lopez-Pozas (jlopezpozas)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe list of arguments to check when this route predicate is evaluatedgetName()The descriptive name of the predicate to be applied onto a routeControls how the predicates are used to filter the route's accessibility.getType()The predicate type which can determine the complexity of its evaluation or applicationinthashCode()voidsetArguments(List<String> arguments) The list of arguments to check when this route predicate is evaluatedvoidThe descriptive name of the predicate to be applied onto a routevoidsetPredicateMatchType(String predicateMatchType) Controls how the predicates are used to filter the route's accessibility.voidThe predicate type which can determine the complexity of its evaluation or applicationtoString()
-
Constructor Details
-
RoutePredicate
public RoutePredicate()
-
-
Method Details
-
getName
The descriptive name of the predicate to be applied onto a route -
getType
The predicate type which can determine the complexity of its evaluation or application -
getPredicateMatchType
Controls how the predicates are used to filter the route's accessibility. The default isDefaultRoutePredicateMatchType.ALL. -
getArguments
The list of arguments to check when this route predicate is evaluated -
setName
The descriptive name of the predicate to be applied onto a route -
setType
The predicate type which can determine the complexity of its evaluation or application -
setPredicateMatchType
Controls how the predicates are used to filter the route's accessibility. The default isDefaultRoutePredicateMatchType.ALL. -
setArguments
The list of arguments to check when this route predicate is evaluated -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-