@ProviderType public class CreateUser extends Operation
Constructor and Description |
---|
CreateUser(java.lang.String username,
java.lang.String passwordEncoding,
java.lang.String password)
Operation that creates a user.
|
CreateUser(java.lang.String username,
java.lang.String passwordEncoding,
java.lang.String password,
org.apache.sling.repoinit.parser.impl.WithPathOptions wpopt)
Operation that creates a user.
|
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.
|
protected java.lang.String |
getParametersDescription() |
java.lang.String |
getPassword() |
java.lang.String |
getPasswordEncoding() |
java.lang.String |
getPath() |
java.lang.String |
getUsername() |
boolean |
isForcedPath() |
cleanupQuotedString, toString
public CreateUser(java.lang.String username, java.lang.String passwordEncoding, java.lang.String password)
username
- the name of the user to createpasswordEncoding
- optional encoding for the supplied passwordpassword
- optional passwordpublic CreateUser(java.lang.String username, java.lang.String passwordEncoding, java.lang.String password, org.apache.sling.repoinit.parser.impl.WithPathOptions wpopt)
username
- the name of the user to createpasswordEncoding
- optional encoding for the supplied passwordpassword
- optional passwordwpopt
- 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 getUsername()
public java.lang.String getPassword()
public java.lang.String getPasswordEncoding()
public java.lang.String getPath()
public boolean isForcedPath()
Copyright © 2022 The Apache Software Foundation. All rights reserved.