Class ComponentPolicyImpl
java.lang.Object
org.apache.sling.cms.core.internal.models.ComponentPolicyImpl
- All Implemented Interfaces:
ComponentPolicy
@Model(adaptables=org.apache.sling.api.resource.Resource.class,
adapters=org.apache.sling.cms.ComponentPolicy.class)
public class ComponentPolicyImpl
extends Object
implements ComponentPolicy
-
Constructor Details
-
ComponentPolicyImpl
public ComponentPolicyImpl(org.apache.sling.api.resource.Resource resource)
-
-
Method Details
-
applies
public boolean applies(org.apache.sling.api.resource.Resource resource) - Specified by:
appliesin interfaceComponentPolicy
-
getAvailableComponentTypes
- Specified by:
getAvailableComponentTypesin interfaceComponentPolicy
-
getComponentConfigs
- Specified by:
getComponentConfigsin interfaceComponentPolicy
-
toString
-