Package org.apache.gravitino.policy
Class PolicyContents.CustomContent
java.lang.Object
org.apache.gravitino.policy.PolicyContents.CustomContent
- All Implemented Interfaces:
PolicyContent
- Enclosing class:
- PolicyContents
A custom content implementation of
PolicyContent
that holds custom rules and
properties.-
Method Details
-
customRules
Returns the custom rules of the policy.- Returns:
- a map of custom rules
-
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.
-
equals
-
hashCode
public int hashCode() -
toString
-