public class ServerDetails
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
environment_name |
java.lang.String |
hostname |
java.lang.Integer |
pid |
java.lang.String |
project_root |
Stats |
stats |
java.lang.String |
time |
| Constructor and Description |
|---|
ServerDetails() |
ServerDetails(java.lang.String environment_name,
java.lang.String hostname,
java.lang.String project_root,
java.lang.Integer pid,
java.lang.String time,
Stats stats) |
| Modifier and Type | Method and Description |
|---|---|
protected static java.lang.String |
environment()
Finds the name of the environment by looking at a few common Java
system properties and/or environment variables.
|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
protected static java.lang.String |
hostname()
Attempt to find the hostname of the system reporting the error to
Honeybadger.
|
protected static java.lang.Integer |
pid()
Finds the process id for the running JVM.
|
protected static java.lang.String |
projectRoot()
Finds the directory in which the JVM was started.
|
static java.lang.String |
time() |
java.lang.String |
toString() |
public final java.lang.String environment_name
public final java.lang.String hostname
public final java.lang.String project_root
public final java.lang.Integer pid
public final java.lang.String time
public final Stats stats
public ServerDetails()
public ServerDetails(java.lang.String environment_name,
java.lang.String hostname,
java.lang.String project_root,
java.lang.Integer pid,
java.lang.String time,
Stats stats)
protected static java.lang.String environment()
protected static java.lang.String hostname()
protected static java.lang.String projectRoot()
protected static java.lang.Integer pid()
public static java.lang.String time()
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