public class QuickLinkVisibilityControllerFactory extends Object
DefaultQuickLinkVisibilityController
will be returned based on the profile. If the string is
null
or invalid ShowAllLinksVisibilityController
will be returned that displays all links which
corresponds to the legacy behavior.Constructor and Description |
---|
QuickLinkVisibilityControllerFactory() |
Modifier and Type | Method and Description |
---|---|
static QuickLinkVisibilityController |
get(String quickLinkProfileJson) |
public QuickLinkVisibilityControllerFactory()
public static QuickLinkVisibilityController get(@Nullable String quickLinkProfileJson)
quickLinkProfileJson
- the quick links profile or null
if no profile is setDefaultQuickLinkVisibilityController
if the profile exists and is valid, ShowAllLinksVisibilityController
otherwise.Copyright © 2022 Apache Software Foundation. All rights reserved.