Class PolicyChange.UpdatePolicyComment

java.lang.Object
org.apache.gravitino.policy.PolicyChange.UpdatePolicyComment
All Implemented Interfaces:
PolicyChange
Enclosing interface:
PolicyChange

public static final class PolicyChange.UpdatePolicyComment extends Object implements PolicyChange
Creates a new policy change to update the comment of the policy.
  • Method Details

    • getNewComment

      public String getNewComment()
      Get the new comment of the policy.
      Returns:
      The new comment of the policy.
    • equals

      public boolean equals(Object o)
      Get the type of the policy change.
      Overrides:
      equals in class Object
      Returns:
      The type of the policy change.
    • hashCode

      public int hashCode()
      Get the hash code of the policy change.
      Overrides:
      hashCode in class Object
      Returns:
      The hash code of the policy change.
    • toString

      public String toString()
      Get the string representation of the policy change.
      Overrides:
      toString in class Object
      Returns:
      The string representation of the policy change.