Class SetAclPrincipals

  • @ProviderType
    public class SetAclPrincipals
    extends Operation
    Set ACL statement that groups a set of AclLines that all refer to the same set of principals.
    • Field Detail


        public static final java.lang.String ACL_OPTION_MERGE
        Supported ACL options
        See Also:
        Constant Field Values

        public static final java.lang.String ACL_OPTION_MERGE_PRESERVE
        See Also:
        Constant Field Values
    • Constructor Detail

      • SetAclPrincipals

        public SetAclPrincipals​(java.util.List<java.lang.String> principals,
                                java.util.List<AclLine> lines)
      • SetAclPrincipals

        public SetAclPrincipals​(java.util.List<java.lang.String> principals,
                                java.util.List<AclLine> lines,
                                java.util.List<java.lang.String> aclOptions)
    • Method Detail

      • asRepoInitString

        public @NotNull java.lang.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
        the repoinit string for the operation
      • getPrincipals

        public java.util.List<java.lang.String> getPrincipals()
      • getLines

        public java.util.Collection<AclLine> getLines()
      • getOptions

        public java.util.List<java.lang.String> getOptions()