public class ConfigurationUtil extends Object
| Constructor and Description |
|---|
ConfigurationUtil() |
| Modifier and Type | Method and Description |
|---|---|
static Boolean |
hasConfigurations(Resource resource)
Checks if the given
Resource has child configurations. |
static Boolean |
isConfiguration(Resource resource)
Checks if the given
Resource is a configuration. |
static Boolean |
isService(Resource resource)
Checks if the given
Resource is a service. |
public static final Boolean isService(Resource resource)
Resource is a service. The resource is a
service if the content child node is of resource type
'cq/configurations/components/servicepage'.public static final Boolean isConfiguration(Resource resource)
Resource is a configuration. The resource is
a configuration if the contentn child node is of resource type
'cq/configurations/components/configpage'."Copyright © 2010 - 2017 Adobe Systems Incorporated. All Rights Reserved"