Class EnsureNodes
- java.lang.Object
-
- org.apache.sling.repoinit.parser.operations.Operation
-
- org.apache.sling.repoinit.parser.operations.EnsureNodes
-
@ProviderType @Deprecated(since="2024-02-12") public class EnsureNodes extends Operation
Deprecated.
-
-
Constructor Summary
Constructors Constructor Description EnsureNodes(java.lang.String defaultPrimaryType)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
accept(OperationVisitor v)
Deprecated.void
addSegment(java.lang.String path, java.lang.String primaryType)
Deprecated.void
addSegment(java.lang.String path, java.lang.String primaryType, java.util.List<java.lang.String> mixins)
Deprecated.@NotNull java.lang.String
asRepoInitString()
Deprecated.Converts this operation instance to a RepoInit string representation including the current operation parameters.java.util.List<PathSegmentDefinition>
getDefinitions()
Deprecated.java.util.List<PropertyLine>
getPropertyLines()
Deprecated.void
setPropertyLines(@NotNull java.util.List<PropertyLine> lines)
Deprecated.java.lang.String
toString()
Deprecated.-
Methods inherited from class org.apache.sling.repoinit.parser.operations.Operation
cleanupQuotedString
-
-
-
-
Method Detail
-
asRepoInitString
@NotNull public @NotNull java.lang.String asRepoInitString()
Deprecated.Description copied from class:Operation
Converts 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:
asRepoInitString
in classOperation
- Returns:
- the repoinit string for the operation
-
accept
public void accept(OperationVisitor v)
Deprecated.
-
addSegment
public void addSegment(java.lang.String path, java.lang.String primaryType)
Deprecated.
-
addSegment
public void addSegment(java.lang.String path, java.lang.String primaryType, java.util.List<java.lang.String> mixins)
Deprecated.
-
getDefinitions
public java.util.List<PathSegmentDefinition> getDefinitions()
Deprecated.
-
setPropertyLines
public void setPropertyLines(@NotNull @NotNull java.util.List<PropertyLine> lines)
Deprecated.
-
getPropertyLines
public java.util.List<PropertyLine> getPropertyLines()
Deprecated.
-
-