Class RemoveAcePrincipalBased
- java.lang.Object
-
- org.apache.sling.repoinit.parser.operations.Operation
-
- org.apache.sling.repoinit.parser.operations.RemoveAcePrincipalBased
-
@ProviderType public class RemoveAcePrincipalBased extends Operation
Remove ACL statement that groups a set of AclLines that all refer to the same set of principals.
-
-
Field Summary
Fields Modifier and Type Field Description static String
ACL_OPTION_MERGE
Supported ACL optionsstatic String
ACL_OPTION_MERGE_PRESERVE
-
Constructor Summary
Constructors Constructor Description RemoveAcePrincipalBased(List<String> principals, List<AclLine> lines)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(OperationVisitor v)
@NotNull String
asRepoInitString()
Converts this operation instance to a RepoInit string representation including the current operation parameters.Collection<AclLine>
getLines()
List<String>
getOptions()
List<String>
getPrincipals()
-
Methods inherited from class org.apache.sling.repoinit.parser.operations.Operation
cleanupQuotedString, toString
-
-
-
-
Field Detail
-
ACL_OPTION_MERGE
public static final String ACL_OPTION_MERGE
Supported ACL options- See Also:
- Constant Field Values
-
ACL_OPTION_MERGE_PRESERVE
public static final String ACL_OPTION_MERGE_PRESERVE
- See Also:
- Constant Field Values
-
-
Method Detail
-
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 classOperation
- Returns:
- the repoinit string for the operation
-
accept
public void accept(OperationVisitor v)
-
getLines
public Collection<AclLine> getLines()
-
-