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.
Use EnsureNodes instead.
  • Constructor Details

    • CreatePath

      public CreatePath(String defaultPrimaryType)
      Deprecated.
  • Method Details

    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Operation
    • getParametersDescription

      protected String getParametersDescription()
      Deprecated.
      Specified by:
      getParametersDescription in class Operation
    • 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 class Operation
      Returns:
      the repoinit string for the operation
    • accept

      public void accept(OperationVisitor v)
      Deprecated.
      Specified by:
      accept in class Operation
    • addSegment

      public void addSegment(String path, String primaryType)
      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.