Package org.apache.gravitino.policy
Interface PolicyContent
- All Known Subinterfaces:
PolicyContentDTO
- All Known Implementing Classes:
PolicyContentDTO.CustomContentDTO
,PolicyContents.CustomContent
public interface PolicyContent
The interface of the content of the policy.
-
Method Summary
-
Method Details
-
supportedObjectTypes
Set<MetadataObject.Type> supportedObjectTypes()- Returns:
- the set of metadata object types that the policy can be applied to
-
properties
- Returns:
- The additional properties of the policy.
-
validate
Validates the policy content.- Throws:
IllegalArgumentException
- if the content is invalid.
-