Class NavBarEntry.NavBarContext

  • All Implemented Interfaces:
    MenuContext
    Enclosing interface:
    NavBarEntry

    public static class NavBarEntry.NavBarContext
    extends java.lang.Object
    implements MenuContext
    • Constructor Summary

      Constructors 
      Constructor Description
      NavBarContext​(java.lang.String location, java.util.function.Function<java.lang.String,​java.lang.Boolean> userInRoleFunction)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getLocation()  
      boolean isUserInRole​(java.lang.String role)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NavBarContext

        public NavBarContext​(java.lang.String location,
                             java.util.function.Function<java.lang.String,​java.lang.Boolean> userInRoleFunction)
    • Method Detail

      • isUserInRole

        public boolean isUserInRole​(java.lang.String role)
        Specified by:
        isUserInRole in interface MenuContext