Class RoutePredicate

java.lang.Object
com.broadleafcommerce.metadata.core.domain.RoutePredicate
All Implemented Interfaces:
Serializable

public class RoutePredicate extends Object implements 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 Details

    • RoutePredicate

      public RoutePredicate()
  • Method Details

    • getName

      public String getName()
      The descriptive name of the predicate to be applied onto a route
    • getType

      public String getType()
      The predicate type which can determine the complexity of its evaluation or application
    • getPredicateMatchType

      public String getPredicateMatchType()
      Controls how the predicates are used to filter the route's accessibility. The default is DefaultRoutePredicateMatchType.ALL.
    • getArguments

      public List<String> getArguments()
      The list of arguments to check when this route predicate is evaluated
    • setName

      public void setName(String name)
      The descriptive name of the predicate to be applied onto a route
    • setType

      public void setType(String type)
      The predicate type which can determine the complexity of its evaluation or application
    • setPredicateMatchType

      public void setPredicateMatchType(String predicateMatchType)
      Controls how the predicates are used to filter the route's accessibility. The default is DefaultRoutePredicateMatchType.ALL.
    • setArguments

      public void setArguments(List<String> arguments)
      The list of arguments to check when this route predicate is evaluated
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object