Class CollectStepDataImpl
- java.lang.Object
-
- org.eclipse.aether.internal.impl.collect.CollectStepDataImpl
-
- All Implemented Interfaces:
CollectStepData
public final class CollectStepDataImpl extends java.lang.Object implements CollectStepData
Trace objects for dependency collection.- Since:
- 1.8.1
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
context
private Dependency
node
private java.util.List<DependencyNode>
path
-
Constructor Summary
Constructors Constructor Description CollectStepDataImpl(java.lang.String context, java.util.List<DependencyNode> path, Dependency node)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getContext()
Returns the context of collection.Dependency
getNode()
Returns the current node being collected.java.util.List<DependencyNode>
getPath()
Returns the path of dependency nodes that led collector to current node returned byCollectStepData.getNode()
.
-
-
-
Field Detail
-
context
private final java.lang.String context
-
path
private final java.util.List<DependencyNode> path
-
node
private final Dependency node
-
-
Constructor Detail
-
CollectStepDataImpl
public CollectStepDataImpl(java.lang.String context, java.util.List<DependencyNode> path, Dependency node)
-
-
Method Detail
-
getContext
public java.lang.String getContext()
Description copied from interface:CollectStepData
Returns the context of collection. Nevernull
.- Specified by:
getContext
in interfaceCollectStepData
-
getPath
public java.util.List<DependencyNode> getPath()
Description copied from interface:CollectStepData
Returns the path of dependency nodes that led collector to current node returned byCollectStepData.getNode()
. Nevernull
.- Specified by:
getPath
in interfaceCollectStepData
-
getNode
public Dependency getNode()
Description copied from interface:CollectStepData
Returns the current node being collected. Nevernull
.- Specified by:
getNode
in interfaceCollectStepData
-
-