Package com.adobe.cq.dam.bp.cloudconfig
Interface MediaPortalCloudConfigResolver
-
public interface MediaPortalCloudConfigResolver
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringJCR_PROP_MP_CLOUDSERVICE_CONFIGJCR Property on a folder (nt:folder/sling:Folder/sling:OrderedFolder) identifying the MP cloud service configuration for a target folder.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MediaPortalCloudConfigurationgetConfiguration(ResourceResolver resolver, java.lang.String path)Retrieves the cloud configuration described by the resource stored under the providedpath.MediaPortalCloudConfigurationgetDefaultConfig(ResourceResolver resolver)returns the first enabled MP config from available configs.
-
-
-
Field Detail
-
JCR_PROP_MP_CLOUDSERVICE_CONFIG
static final java.lang.String JCR_PROP_MP_CLOUDSERVICE_CONFIG
JCR Property on a folder (nt:folder/sling:Folder/sling:OrderedFolder) identifying the MP cloud service configuration for a target folder.- See Also:
- Constant Field Values
-
-
Method Detail
-
getConfiguration
MediaPortalCloudConfiguration getConfiguration(ResourceResolver resolver, java.lang.String path)
Retrieves the cloud configuration described by the resource stored under the providedpath. If no configuration is found at that path this method returnsnull.- Parameters:
resolver- the resource resolver used to access the resourcespath- the path from which to obtain the configuration- Returns:
- the configuration if found,
nullotherwise
-
getDefaultConfig
MediaPortalCloudConfiguration getDefaultConfig(ResourceResolver resolver)
returns the first enabled MP config from available configs.- Parameters:
resolver- the resource resolver used to access the resources- Returns:
- the default configuration if found,
nullotherwise
-
-