Package hydra.compute
Class Trace
- java.lang.Object
-
- hydra.compute.Trace
-
- All Implemented Interfaces:
java.io.Serializable
public class Trace extends java.lang.Object implements java.io.Serializable
A container for logging and error information- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static Name
FIELD_NAME_MESSAGES
static Name
FIELD_NAME_OTHER
static Name
FIELD_NAME_STACK
java.util.List<java.lang.String>
messages
java.util.Map<Name,Term>
other
A map of string keys to arbitrary terms as values, for application-specific usejava.util.List<java.lang.String>
stack
static Name
TYPE_NAME
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
int
hashCode()
Trace
withMessages(java.util.List<java.lang.String> messages)
Trace
withOther(java.util.Map<Name,Term> other)
Trace
withStack(java.util.List<java.lang.String> stack)
-
-
-
Field Detail
-
TYPE_NAME
public static final Name TYPE_NAME
-
FIELD_NAME_STACK
public static final Name FIELD_NAME_STACK
-
FIELD_NAME_MESSAGES
public static final Name FIELD_NAME_MESSAGES
-
FIELD_NAME_OTHER
public static final Name FIELD_NAME_OTHER
-
stack
public final java.util.List<java.lang.String> stack
-
messages
public final java.util.List<java.lang.String> messages
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
withStack
public Trace withStack(java.util.List<java.lang.String> stack)
-
withMessages
public Trace withMessages(java.util.List<java.lang.String> messages)
-
-