Class PathSegmentDefinition
- java.lang.Object
-
- org.apache.sling.repoinit.parser.operations.PathSegmentDefinition
-
@ProviderType public class PathSegmentDefinition extends java.lang.Object
Defines a segment of a path to be created, with its name and an optional primary type and optional mixins
-
-
Constructor Summary
Constructors Constructor Description PathSegmentDefinition(java.lang.String segment, java.lang.String primaryType)
PathSegmentDefinition(java.lang.String segment, java.lang.String primaryType, boolean isDefaultPrimary)
PathSegmentDefinition(java.lang.String segment, java.lang.String primaryType, java.util.List<java.lang.String> mixins)
PathSegmentDefinition(java.lang.String segment, java.lang.String primaryType, java.util.List<java.lang.String> mixins, boolean isDefaultPrimary)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.String>
getMixins()
java.lang.String
getPrimaryType()
java.lang.String
getSegment()
boolean
isDefaultPrimary()
java.lang.String
toString()
-
-
-
Constructor Detail
-
PathSegmentDefinition
public PathSegmentDefinition(java.lang.String segment, java.lang.String primaryType)
-
PathSegmentDefinition
public PathSegmentDefinition(java.lang.String segment, java.lang.String primaryType, java.util.List<java.lang.String> mixins)
-
PathSegmentDefinition
public PathSegmentDefinition(java.lang.String segment, java.lang.String primaryType, boolean isDefaultPrimary)
-
PathSegmentDefinition
public PathSegmentDefinition(java.lang.String segment, java.lang.String primaryType, java.util.List<java.lang.String> mixins, boolean isDefaultPrimary)
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getSegment
public java.lang.String getSegment()
-
getPrimaryType
public java.lang.String getPrimaryType()
-
getMixins
public java.util.List<java.lang.String> getMixins()
-
isDefaultPrimary
public boolean isDefaultPrimary()
-
-