public class ConfigurationUtil
extends java.lang.Object
| Constructor and Description |
|---|
ConfigurationUtil() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.Boolean |
hasConfigurations(Resource resource)
Checks if the given
Resource has child configurations. |
static java.lang.Boolean |
isConfiguration(Resource resource)
Checks if the given
Resource is a configuration. |
static java.lang.Boolean |
isService(Resource resource)
Checks if the given
Resource is a service. |
public static final java.lang.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 java.lang.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 - 2018 Adobe Systems Incorporated. All Rights Reserved"