Class NavigationPredicate

java.lang.Object
com.broadleafcommerce.adminnavigation.domain.NavigationPredicate
All Implemented Interfaces:
Serializable

public class NavigationPredicate extends Object implements Serializable
A predicate used to restrict an Admin Navigation Menu Item.
Since:
Admin Navigation 3.0.0, Release Train 3.0.0
See Also:
  • Constructor Details

    • NavigationPredicate

      public NavigationPredicate()
  • Method Details

    • getName

      public String getName()
      The descriptive name of the predicate (e.g., "TENANT_ONLY", "APPLICATION_ONLY", "TENANT_BY_ID", "APPLICATION_BY_ID").
      See Also:
    • getType

      public String getType()
      The predicate type (typically "SIMPLE").
    • getArguments

      public List<String> getArguments()
      The list of arguments to check when this predicate is evaluated (e.g., specific tenant/app IDs).
    • setName

      public void setName(String name)
      The descriptive name of the predicate (e.g., "TENANT_ONLY", "APPLICATION_ONLY", "TENANT_BY_ID", "APPLICATION_BY_ID").
      See Also:
    • setType

      public void setType(String type)
      The predicate type (typically "SIMPLE").
    • setArguments

      public void setArguments(List<String> arguments)
      The list of arguments to check when this predicate is evaluated (e.g., specific tenant/app IDs).
    • 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