@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() |
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()
asRepoInitString in class Operationpublic String getGroupname()
public String getPath()
public boolean isForcedPath()
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.