Interface ComponentPolicyManager


@ProviderType public interface ComponentPolicyManager
An interface for retrieving the applicable component policy for a given resource.
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable ComponentPolicy
    Gets the applicable component policy based on the containing page's template and the path of the content resource
  • Method Details

    • getComponentPolicy

      @Nullable @Nullable ComponentPolicy getComponentPolicy()
      Gets the applicable component policy based on the containing page's template and the path of the content resource
      Returns:
      the componentPolicy or null if the no component policy is applicable