public abstract class DiagnosticContext
extends java.lang.Object
Constructor and Description |
---|
DiagnosticContext() |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.String |
getAttachment()
Returns the attachment of diagnostics context.
|
abstract com.centrasite.jaxr.CentraSiteConnection |
getConnection()
Returns the logged in connection object.
|
abstract java.util.HashMap<java.lang.String,java.lang.Object> |
getContext()
Returns the diagnostics context.
|
static java.lang.String |
getStackTrace(java.lang.Throwable throwable)
Get the stack trace string from the given Throwable instance.
|
abstract void |
setAttachment(java.lang.String file)
Sets attachment for each diagnostics context.
|
public abstract java.util.HashMap<java.lang.String,java.lang.Object> getContext()
HashMap
having connection URL and asset URL key value pairspublic abstract java.lang.String getAttachment()
public abstract void setAttachment(java.lang.String file)
file
- The name of the filepublic abstract com.centrasite.jaxr.CentraSiteConnection getConnection()
CentraSiteConnection
- logged in connection objectpublic static java.lang.String getStackTrace(java.lang.Throwable throwable)
throwable
- The Throwable
instance