@Test public void getAppBarWebInfosDisplayFalse() { WebappInfo wInfo0 = new WebappInfo.Builder().server("foo").title("bar").appBarDisplay(false).menuName("m").create(); wInfos.add(wInfo0); WebappInfo wInfo1 = new WebappInfo.Builder().server("foo").title("baz").menuName("m").create(); wInfos.add(wInfo1); assertThat(wac.getAppBarWebInfos("foo", "m"), containsInAnyOrder(wInfo1)); assertThat(wac.getAppBarWebInfos("foo"), containsInAnyOrder(wInfo0, wInfo1)); }
public List<WebappInfo> getAppBarWebInfos(String serverName) { return getAppBarWebInfos(serverName, null); }
WebAppCache { public List<WebappInfo> getAppBarWebInfos(String serverName) { return getAppBarWebInfos(serverName, null); } }
WebAppCache { public List<WebappInfo> getAppBarWebInfos(String serverName) { return getAppBarWebInfos(serverName, null); } WebAppCache(Supplier<Collection<ComponentConfig>> supplier); }
WebAppCache { public List<WebappInfo> getAppBarWebInfos(String serverName) { return getAppBarWebInfos(serverName, null); } WebAppCache(Supplier<Collection<ComponentConfig>> supplier); List<WebappInfo> getAppBarWebInfos(String serverName); List<WebappInfo> getAppBarWebInfos(String serverName, String menuName); Optional<WebappInfo> getWebappInfo(String serverName, String webAppName); static WebAppCache getShared(); }
WebAppCache { public List<WebappInfo> getAppBarWebInfos(String serverName) { return getAppBarWebInfos(serverName, null); } WebAppCache(Supplier<Collection<ComponentConfig>> supplier); List<WebappInfo> getAppBarWebInfos(String serverName); List<WebappInfo> getAppBarWebInfos(String serverName, String menuName); Optional<WebappInfo> getWebappInfo(String serverName, String webAppName); static WebAppCache getShared();  }