Package com.adobe.cq.contentinsight
Interface ProviderSettingsProvider
-
@ProviderType public interface ProviderSettingsProvider
AProviderSettingsProvider
provides required settings for Content Insight provider implementations, e.g. remote service URLs or authentication tokens.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getName()
Get the provider's unique name.ValueMap
getSettings(Resource resource)
Get the settings for a resource, e.g.boolean
isActive(Resource resource)
Check if provider is active for the given resource.
-
-
-
Method Detail
-
getName
java.lang.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.
-
-