public class ShowAllLinksVisibilityController extends Object implements QuickLinkVisibilityController
Constructor and Description |
---|
ShowAllLinksVisibilityController() |
Modifier and Type | Method and Description |
---|---|
Optional<String> |
getUrlOverride(String service,
Link quickLink) |
boolean |
isVisible(String service,
Link quickLink) |
public boolean isVisible(@Nonnull String service, @Nonnull Link quickLink)
isVisible
in interface QuickLinkVisibilityController
service
- The name of the service the quicklink belongs toquickLink
- the linkpublic Optional<String> getUrlOverride(@Nonnull String service, @Nonnull Link quickLink)
getUrlOverride
in interface QuickLinkVisibilityController
service
- The name of the service the quicklink belongs toquickLink
- the linkCopyright © 2022 Apache Software Foundation. All rights reserved.