Class CreateGroup
java.lang.Object
org.apache.sling.repoinit.parser.operations.Operation
org.apache.sling.repoinit.parser.operations.CreateGroup
@ProviderType public class CreateGroup extends Operation
-
Field Summary
-
Constructor Summary
Constructors Constructor 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. -
Method Summary
Modifier and Type Method Description voidaccept(OperationVisitor v)@NotNull java.lang.StringasRepoInitString()java.lang.StringgetGroupname()protected java.lang.StringgetParametersDescription()java.lang.StringgetPath()booleanisForcedPath()Methods inherited from class org.apache.sling.repoinit.parser.operations.Operation
cleanupQuotedString, toString
-
Constructor Details
-
CreateGroup
public CreateGroup(java.lang.String groupname)Operation that creates a group.- Parameters:
groupname- the name of the group to create
-
CreateGroup
public CreateGroup(java.lang.String groupname, org.apache.sling.repoinit.parser.impl.WithPathOptions wph)Operation that creates a group.- Parameters:
groupname- the name of the group to createwph- optional path
-
-
Method Details
-
accept
-
getParametersDescription
protected java.lang.String getParametersDescription()- Specified by:
getParametersDescriptionin classOperation
-
asRepoInitString
@NotNull public @NotNull java.lang.String asRepoInitString()- Specified by:
asRepoInitStringin classOperation
-
getGroupname
public java.lang.String getGroupname() -
getPath
public java.lang.String getPath() -
isForcedPath
public boolean isForcedPath()
-