public final class CollectStepDataImpl extends java.lang.Object implements CollectStepData
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
context |
private Dependency |
node |
private java.util.List<DependencyNode> |
path |
Constructor and Description |
---|
CollectStepDataImpl(java.lang.String context,
java.util.List<DependencyNode> path,
Dependency node) |
Modifier and Type | Method and 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 by
CollectStepData.getNode() . |
private final java.lang.String context
private final java.util.List<DependencyNode> path
private final Dependency node
public CollectStepDataImpl(java.lang.String context, java.util.List<DependencyNode> path, Dependency node)
public java.lang.String getContext()
CollectStepData
null
.getContext
in interface CollectStepData
public java.util.List<DependencyNode> getPath()
CollectStepData
CollectStepData.getNode()
.
Never null
.getPath
in interface CollectStepData
public Dependency getNode()
CollectStepData
null
.getNode
in interface CollectStepData