Package org.apache.gravitino.dto.policy
Class PolicyContentDTO.CustomContentDTO
java.lang.Object
org.apache.gravitino.dto.policy.PolicyContentDTO.CustomContentDTO
- All Implemented Interfaces:
PolicyContentDTO
,PolicyContent
- Enclosing interface:
- PolicyContentDTO
Represents a custom policy content DTO.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.gravitino.dto.policy.PolicyContentDTO
PolicyContentDTO.CustomContentDTO
-
Method Summary
Modifier and TypeMethodDescriptionReturns the custom rules defined in this policy content.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.gravitino.policy.PolicyContent
validate
-
Method Details
-
customRules
Returns the custom rules defined in this policy content.- Returns:
- a map of custom rules where the key is the rule name and the value is the rule value.
-
supportedObjectTypes
- Specified by:
supportedObjectTypes
in interfacePolicyContent
- Returns:
- the set of metadata object types that the policy can be applied to
-
properties
- Specified by:
properties
in interfacePolicyContent
- Returns:
- The additional properties of the policy.
-