com.adobe.granite.contexthub.models.ContextHubConfigField Maven / Gradle / Ivy
/*************************************************************************
*
* ADOBE CONFIDENTIAL
* __________________
*
* Copyright 2018 Adobe Systems Incorporated
* All Rights Reserved.
*
* NOTICE: All information contained herein is, and remains
* the property of Adobe Systems Incorporated and its suppliers,
* if any. The intellectual and technical concepts contained
* herein are proprietary to Adobe Systems Incorporated and its
* suppliers and are protected by trade secret or copyright law.
* Dissemination of this information or reproduction of this material
* is strictly forbidden unless prior written permission is obtained
* from Adobe Systems Incorporated.
**************************************************************************/
package com.adobe.granite.contexthub.models;
import org.osgi.annotation.versioning.ProviderType;
/**
* Defines the {@code ContextHubConfigField} Sling Model used for the {@code /granite/contexthub/components/configuratino/form/inheritedconfig} component.
*
*/
@ProviderType
public interface ContextHubConfigField {
/**
* Indicates if the configuration is inherited from a parent resource.
* @return
*/
boolean isInheritedFromParent();
/**
* Returns the path where the inherited configuration can be found, or {@code null} when the configuration isn't inherited.
* @return
*/
String getInheritedConfigPath();
}