public class PackagingElementPath
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static PackagingElementPath |
EMPTY |
Modifier and Type | Method and Description |
---|---|
PackagingElementPath |
appendComplex(ComplexPackagingElement<?> element) |
PackagingElementPath |
appendComposite(CompositePackagingElement<?> element) |
static PackagingElementPath |
createPath(java.util.List<? extends PackagingElement<?>> elements) |
Artifact |
findLastArtifact(PackagingElementResolvingContext context) |
java.util.List<PackagingElement<?>> |
getAllElements() |
CompositePackagingElement<?> |
getLastParent() |
java.util.List<CompositePackagingElement<?>> |
getParents() |
java.util.List<CompositePackagingElement<?>> |
getParentsFrom(CompositePackagingElement<?> ancestor) |
java.lang.String |
getPathString() |
java.lang.String |
getPathString(java.lang.String separator) |
java.lang.String |
getPathStringFrom(java.lang.String separator,
CompositePackagingElement<?> ancestor) |
public static final PackagingElementPath EMPTY
public PackagingElementPath appendComplex(ComplexPackagingElement<?> element)
public PackagingElementPath appendComposite(CompositePackagingElement<?> element)
public java.lang.String getPathString()
public java.lang.String getPathString(java.lang.String separator)
public java.lang.String getPathStringFrom(java.lang.String separator, CompositePackagingElement<?> ancestor)
public java.util.List<CompositePackagingElement<?>> getParents()
public java.util.List<CompositePackagingElement<?>> getParentsFrom(CompositePackagingElement<?> ancestor)
public java.util.List<PackagingElement<?>> getAllElements()
public CompositePackagingElement<?> getLastParent()
public Artifact findLastArtifact(PackagingElementResolvingContext context)
public static PackagingElementPath createPath(java.util.List<? extends PackagingElement<?>> elements)