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
|
String[] |
getAvailableComponentTypes()
Gets the list of Component Types which will be available when using this
component policy
|
Map<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 checkString[] getAvailableComponentTypes()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.