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.UseEnsureNodesinstead.
-
-
Constructor Summary
Constructors Constructor Description CreatePath(String defaultPrimaryType)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaccept(OperationVisitor v)Deprecated.voidaddSegment(String path, String primaryType)Deprecated.voidaddSegment(String path, String primaryType, List<String> mixins)Deprecated.@NotNull StringasRepoInitString()Deprecated.Converts this operation instance to a RepoInit string representation including the current operation parameters.List<PathSegmentDefinition>getDefinitions()Deprecated.protected StringgetParametersDescription()Deprecated.List<PropertyLine>getPropertyLines()Deprecated.voidsetPropertyLines(@NotNull List<PropertyLine> lines)Deprecated.StringtoString()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:
getParametersDescriptionin classOperation
-
asRepoInitString
@NotNull public @NotNull 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
-
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.
-
-