@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()  | 
java.lang.String | 
getPath()  | 
boolean | 
isForcedPath()  | 
cleanupQuotedString, toStringpublic 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)
@NotNull public @NotNull java.lang.String asRepoInitString()
OperationasRepoInitString in class Operationpublic java.lang.String getGroupname()
public java.lang.String getPath()
public boolean isForcedPath()
Copyright © 2010 - 2023 Adobe. All Rights Reserved