|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sonatype.aether.util.DefaultRequestTrace
public class DefaultRequestTrace
A simple request trace.
Constructor Summary | |
---|---|
DefaultRequestTrace(Object data)
Creates a new root trace with the specified data. |
Method Summary | |
---|---|
Object |
getData()
Gets the data associated with this trace. |
RequestTrace |
getParent()
Gets the parent of this trace. |
RequestTrace |
newChild(Object data)
Creates a new child of this trace. |
static RequestTrace |
newChild(RequestTrace parent,
Object data)
Creates a child of the specified request trace. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DefaultRequestTrace(Object data)
data
- The data to associate with the trace, may be null
.Method Detail |
---|
public static RequestTrace newChild(RequestTrace parent, Object data)
RequestTrace.newChild(Object)
when the specified parent trace is not null
or otherwise
instantiante of new root trace.
parent
- The parent request trace, may be null
.data
- The data to associate with the child trace, may be null
.
null
.public Object getData()
RequestTrace
getData
in interface RequestTrace
null
.public RequestTrace getParent()
RequestTrace
getParent
in interface RequestTrace
null
if this is the root of the trace stack.public RequestTrace newChild(Object data)
RequestTrace
newChild
in interface RequestTrace
data
- The data to associate with the child, may be null
.
null
.public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |