@ProviderType public class CreateGroup extends Operation
Constructor and Description |
---|
CreateGroup(java.lang.String groupname)
Operation that creates a group.
|
CreateGroup(java.lang.String groupname,
org.apache.sling.repoinit.parser.impl.WithPathOptions wph)
Operation that creates a group.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(OperationVisitor v) |
@NotNull java.lang.String |
asRepoInitString()
Converts this operation instance to a RepoInit string representation
including the current operation parameters.
|
java.lang.String |
getGroupname() |
protected java.lang.String |
getParametersDescription() |
java.lang.String |
getPath() |
boolean |
isForcedPath() |
cleanupQuotedString, toString
public CreateGroup(java.lang.String groupname)
groupname
- the name of the group to createpublic CreateGroup(java.lang.String groupname, org.apache.sling.repoinit.parser.impl.WithPathOptions wph)
groupname
- the name of the group to createwph
- optional pathpublic void accept(OperationVisitor v)
protected java.lang.String getParametersDescription()
getParametersDescription
in class Operation
@NotNull public @NotNull java.lang.String asRepoInitString()
Operation
asRepoInitString
in class Operation
public java.lang.String getGroupname()
public java.lang.String getPath()
public boolean isForcedPath()
Copyright © 2022 The Apache Software Foundation. All rights reserved.