|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Incident
This interface describes Incidents.
Incidents contain information about Measures and their measurements, the severity of the Incident, the description, start time etc.
Nested Class Summary | |
---|---|
static class |
Incident.Severity
|
Field Summary | |
---|---|
static int |
STATE_CLOSE_INCIDENT
incident has been closed |
static int |
STATE_CREATE_CLOSE_INCIDENT
incident has been triggered per violation, ..., instantly created and closed |
static int |
STATE_CREATE_INCIDENT
incident has been created |
Method Summary | |
---|---|
Duration |
getDuration()
Returns the duration of the violation in milliseconds or a value less than 0 if the duration is not available. |
Timestamp |
getEndTime()
Returns the Timestamp when the violation ended. |
IncidentRule |
getIncidentRule()
Returns the IncidentRule that caused this Incident |
Key |
getKey()
Return the unique incident key. |
java.lang.String |
getMessage()
Returns the incident message used in client representation. |
java.util.Collection<PurePath> |
getPurePaths()
Returns a Collection of Incident related PurePaths |
java.lang.String |
getRecordedSessionId()
Returns the ID of the recorded Session |
java.lang.String |
getRecordedSessionName()
Returns the Name of the recorded Session |
java.lang.String |
getServerName()
Returns the host name and port of the originating dynaTrace Server in the format "host:port" (without quotes). |
Incident.Severity |
getSeverity()
Returns the Severity of this Incident |
Timestamp |
getStartTime()
Returns the Timestamp when the violation started. |
int |
getState()
Returns the incident state. |
java.util.Collection<Violation> |
getViolations()
Returns the collection of measures that are involved in the incident including dynamic measures. |
boolean |
isClosed()
Returns if the Incident is already closed |
boolean |
isOpen()
Returns if the Incident is still open |
Field Detail |
---|
static final int STATE_CREATE_INCIDENT
static final int STATE_CLOSE_INCIDENT
static final int STATE_CREATE_CLOSE_INCIDENT
Method Detail |
---|
java.lang.String getServerName()
java.lang.String getMessage()
IncidentRule getIncidentRule()
java.util.Collection<Violation> getViolations()
java.lang.String getRecordedSessionId()
java.lang.String getRecordedSessionName()
Timestamp getStartTime()
Timestamp getEndTime()
Duration getDuration()
getStartTime()
,
getEndTime()
boolean isOpen()
boolean isClosed()
Incident.Severity getSeverity()
java.util.Collection<PurePath> getPurePaths()
Key getKey()
int getState()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |