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'.resource
- true
if the Resource
has a service resource
type, false
otherwisepublic 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'.resource
- true
if the Resource
has a configuration
resource type, false
otherwise"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"