Class RegisterNodetypes
- java.lang.Object
-
- org.apache.sling.repoinit.parser.operations.Operation
-
- org.apache.sling.repoinit.parser.operations.RegisterNodetypes
-
@ProviderType @Deprecated(since="2024-02-12") public class RegisterNodetypes extends Operation
Deprecated.Usage of this deprecated API is not supported in AEM as a Cloud Service.An embedded block of text
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCND_OPTIONAL_PREFIXDeprecated.Optional prefix used at the beginning of CND lines, to avoid conflicts with Sling provisioning model parser.
-
Constructor Summary
Constructors Constructor Description RegisterNodetypes(java.lang.String cndStatements)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaccept(OperationVisitor v)Deprecated.@NotNull java.lang.StringasRepoInitString()Deprecated.Converts this operation instance to a RepoInit string representation including the current operation parameters.static @NotNull java.util.List<java.lang.String>generateRepoInitLines(@NotNull java.io.BufferedReader rawLines)Deprecated.java.lang.StringgetCndStatements()Deprecated.java.lang.StringtoString()Deprecated.-
Methods inherited from class org.apache.sling.repoinit.parser.operations.Operation
cleanupQuotedString
-
-
-
-
Field Detail
-
CND_OPTIONAL_PREFIX
public static final java.lang.String CND_OPTIONAL_PREFIX
Deprecated.Optional prefix used at the beginning of CND lines, to avoid conflicts with Sling provisioning model parser. If present at the beginning of CND lines, this string is removed.- See Also:
- Constant Field Values
-
-
Method Detail
-
asRepoInitString
@NotNull public @NotNull java.lang.String asRepoInitString()
Deprecated.Description copied from class:OperationConverts this operation instance to a RepoInit string representation including the current operation parameters. The representation must be parsable back into an equivalent operation and must end with a OS-compatible line separator.- Specified by:
asRepoInitStringin classOperation- Returns:
- the repoinit string for the operation
-
generateRepoInitLines
@NotNull public static @NotNull java.util.List<java.lang.String> generateRepoInitLines(@NotNull @NotNull java.io.BufferedReader rawLines) throws java.io.IOExceptionDeprecated.- Throws:
java.io.IOException
-
accept
public void accept(OperationVisitor v)
Deprecated.
-
getCndStatements
public java.lang.String getCndStatements()
Deprecated.
-
-