public interface MediaPortalCloudConfigResolver
Modifier and Type | Field and Description |
---|---|
static 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. |
Modifier and Type | Method and Description |
---|---|
MediaPortalCloudConfiguration |
getConfiguration(ResourceResolver resolver,
java.lang.String path)
Retrieves the cloud configuration described by the resource stored under the provided
path . |
MediaPortalCloudConfiguration |
getDefaultConfig(ResourceResolver resolver)
returns the first enabled MP config from available configs.
|
static final java.lang.String JCR_PROP_MP_CLOUDSERVICE_CONFIG
nt:folder
/ sling:Folder
/ sling:OrderedFolder
) identifying the MP cloud service
configuration for a target folder.MediaPortalCloudConfiguration getConfiguration(ResourceResolver resolver, java.lang.String path)
path
. If no configuration is found at
that path this method returns null
.resolver
- the resource resolver used to access the resourcespath
- the path from which to obtain the configurationnull
otherwiseMediaPortalCloudConfiguration getDefaultConfig(ResourceResolver resolver)
resolver
- the resource resolver used to access the resourcesnull
otherwise"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"