java.io.Serializablepublic class Symptom
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Class | Description |
|---|---|---|
static class |
Symptom.Severity |
Indicates severity of the symptom
|
static class |
Symptom.SymptomType |
Standardized symptom types.
|
| Constructor | Description |
|---|---|
Symptom(Symptom.SymptomType type,
Symptom.Severity severity,
java.lang.String instanceId,
java.lang.String info) |
A Symptom object represents a structured observation reported by a component
with its health state.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getInfo() |
|
java.lang.String |
getInstanceId() |
Returns identifier of the component for which the symptom is reported
|
Symptom.Severity |
getSeverity() |
Returns severity of the symptom
|
Symptom.SymptomType |
getType() |
Returns type of the symptom
|
public Symptom(Symptom.SymptomType type, Symptom.Severity severity, java.lang.String instanceId, java.lang.String info)
type - Symptom typeseverity - Signifies severity of the symptom from least to most severe.instanceId - An identifier which identifies the object which contributed to this symptominfo - Additional informationpublic Symptom.SymptomType getType()
public Symptom.Severity getSeverity()
public java.lang.String getInstanceId()
public java.lang.String getInfo()