Interface PolicyChange

All Known Implementing Classes:
PolicyChange.RenamePolicy, PolicyChange.UpdateContent, PolicyChange.UpdatePolicyComment

@Evolving public interface PolicyChange
Interface for supporting policy changes. This interface will be used to provide policy modification operations for each policy.
  • Method Details

    • rename

      static PolicyChange rename(String newName)
      Creates a new policy change to rename the policy.
      Parameters:
      newName - The new name of the policy.
      Returns:
      The policy change.
    • updateComment

      static PolicyChange updateComment(String newComment)
      Creates a new policy change to update the policy comment.
      Parameters:
      newComment - The new comment for the policy.
      Returns:
      The policy change.
    • updateContent

      static PolicyChange updateContent(String policyType, PolicyContent content)
      Creates a new policy change to update the content of the policy.
      Parameters:
      policyType - The type of the policy, used for validation.
      content - The new content for the policy.
      Returns:
      The policy change.