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()
CollectStepDatanull.getContext in interface CollectStepDatapublic java.util.List<DependencyNode> getPath()
CollectStepDataCollectStepData.getNode().
Never null.getPath in interface CollectStepDatapublic Dependency getNode()
CollectStepDatanull.getNode in interface CollectStepData