public class TraceChain extends java.lang.Object implements BodyContent, JsonSerializable
Throwable.getCause()
returning some value).| Modifier and Type | Class and Description |
|---|---|
static class |
TraceChain.Builder
Builder class for
trace chain. |
| Constructor and Description |
|---|
TraceChain(TraceChain.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
asJson()
Returns the object that should be an equivalent representation of itself in json.
|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getKeyName()
The key name of the body content.
|
java.util.List<Trace> |
getTraces()
Getter.
|
int |
hashCode() |
java.lang.String |
toString() |
TraceChain |
truncateStrings(int maxLength) |
public TraceChain(TraceChain.Builder builder)
public java.util.List<Trace> getTraces()
public java.lang.String getKeyName()
BodyContentgetKeyName in interface BodyContentpublic java.lang.Object asJson()
JsonSerializableasJson in interface JsonSerializablepublic TraceChain truncateStrings(int maxLength)
truncateStrings in interface StringTruncatable<BodyContent>public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object