public interface ComponentPolicy
Modifier and Type | Method and Description |
---|---|
boolean |
applies(org.apache.sling.api.resource.Resource resource)
Returns true if the ComponentPolicy applies to the specified resource
|
java.lang.String[] |
getAvailableComponentTypes()
Gets the list of Component Types which will be available when using this
component policy
|
java.util.Map<java.lang.String,org.apache.sling.api.resource.Resource> |
getComponentConfigs()
Gets the Component Configurations when using this component policy
|
boolean applies(org.apache.sling.api.resource.Resource resource)
resource
- the resource to checkjava.lang.String[] getAvailableComponentTypes()
java.util.Map<java.lang.String,org.apache.sling.api.resource.Resource> getComponentConfigs()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.