Class EnsureAclPrincipalBased

java.lang.Object
org.apache.sling.repoinit.parser.operations.Operation
org.apache.sling.repoinit.parser.operations.EnsureAclPrincipalBased

@ProviderType public class EnsureAclPrincipalBased extends Operation
Set ACL statement that groups a set of AclLines that all refer to the same set of principals. Fails in case the principal ACLs cannot be applied for some reason.
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • getParametersDescription

      protected String getParametersDescription()
    • asRepoInitString

      @NotNull public @NotNull String asRepoInitString()
      Description copied from class: Operation
      Converts this operation instance to a RepoInit string representation including the current operation parameters. The representation must be parsable back into an equivalent operation and must end with a OS-compatible line separator.
      Specified by:
      asRepoInitString in class Operation
      Returns:
      the repoinit string for the operation
    • getPrincipals

      public List<String> getPrincipals()
    • accept

      public void accept(OperationVisitor v)
      Specified by:
      accept in class Operation
    • getLines

      public Collection<AclLine> getLines()
    • getOptions

      public List<String> getOptions()