Interface ProviderSettingsProvider


  • @ProviderType
    public interface ProviderSettingsProvider
    A ProviderSettingsProvider provides required settings for Content Insight provider implementations, e.g. remote service URLs or authentication tokens.
    • Method Detail

      • getName

        String getName()
        Get the provider's unique name.
        Returns:
        Unique provider name.
      • getSettings

        ValueMap getSettings​(Resource resource)
        Get the settings for a resource, e.g. a page.
        Parameters:
        resource - Resource to get settins for
        Returns:
        Settings for specified resource.
      • isActive

        boolean isActive​(Resource resource)
        Check if provider is active for the given resource.
        Parameters:
        resource - Resource to check
        Returns:
        true if provider is active for given resource, false otherwise.