@ProviderType public class CreateGroup extends Operation
| Constructor and Description |
|---|
CreateGroup(String groupname)
Operation that creates a group.
|
CreateGroup(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 String |
asRepoInitString()
Converts this operation instance to a RepoInit string representation
including the current operation parameters.
|
String |
getGroupname() |
protected String |
getParametersDescription() |
String |
getPath() |
boolean |
isForcedPath() |
cleanupQuotedString, toStringpublic CreateGroup(String groupname)
groupname - the name of the group to createpublic CreateGroup(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 String getParametersDescription()
getParametersDescription in class Operation@NotNull public @NotNull String asRepoInitString()
OperationasRepoInitString in class Operationpublic String getGroupname()
public String getPath()
public boolean isForcedPath()
Copyright © 2007–2022 The Apache Software Foundation. All rights reserved.