Class CreatePath
- java.lang.Object
-
- org.apache.sling.repoinit.parser.operations.Operation
-
- org.apache.sling.repoinit.parser.operations.CreatePath
-
@ProviderType @Deprecated public class CreatePath extends Operation
Deprecated.UseEnsureNodes
instead.
-
-
Constructor Summary
Constructors Constructor Description CreatePath(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(String path, String primaryType)
Deprecated.void
addSegment(String path, String primaryType, List<String> mixins)
Deprecated.@NotNull String
asRepoInitString()
Deprecated.Converts this operation instance to a RepoInit string representation including the current operation parameters.List<PathSegmentDefinition>
getDefinitions()
Deprecated.protected String
getParametersDescription()
Deprecated.List<PropertyLine>
getPropertyLines()
Deprecated.void
setPropertyLines(@NotNull List<PropertyLine> lines)
Deprecated.String
toString()
Deprecated.-
Methods inherited from class org.apache.sling.repoinit.parser.operations.Operation
cleanupQuotedString
-
-
-
-
Constructor Detail
-
CreatePath
public CreatePath(String defaultPrimaryType)
Deprecated.
-
-
Method Detail
-
getParametersDescription
protected String getParametersDescription()
Deprecated.- Specified by:
getParametersDescription
in classOperation
-
asRepoInitString
@NotNull public @NotNull 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(String path, String primaryType, List<String> mixins)
Deprecated.
-
getDefinitions
public List<PathSegmentDefinition> getDefinitions()
Deprecated.
-
setPropertyLines
public void setPropertyLines(@NotNull @NotNull List<PropertyLine> lines)
Deprecated.
-
getPropertyLines
public List<PropertyLine> getPropertyLines()
Deprecated.
-
-