Class Operation
- java.lang.Object
-
- org.apache.sling.repoinit.parser.operations.Operation
-
- Direct Known Subclasses:
AddGroupMembers,CreateGroup,CreatePath,CreateUser,DeleteAclPaths,DeleteAclPrincipalBased,DeleteAclPrincipals,DeleteGroup,DeleteUser,RegisterNamespace,RegisterNodetypes,RegisterPrivilege,RemoveAcePaths,RemoveAcePrincipalBased,RemoveAcePrincipals,RemoveGroupMembers,ServiceUserOperation,SetAclPaths,SetAclPrincipalBased,SetAclPrincipals,SetProperties
@ProviderType public abstract class Operation extends Object
-
-
Constructor Summary
Constructors Constructor Description Operation()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract voidaccept(OperationVisitor v)abstract @NotNull StringasRepoInitString()Converts this operation instance to a RepoInit string representation including the current operation parameters.static StringcleanupQuotedString(String s)StringtoString()
-
-
-
Field Detail
-
DQUOTE
public static final String DQUOTE
- See Also:
- Constant Field Values
-
-
Method Detail
-
accept
public abstract void accept(OperationVisitor v)
-
asRepoInitString
@NotNull public abstract @NotNull String asRepoInitString()
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.- Returns:
- the repoinit string for the operation
-
-