public class Symptom extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
Symptom.Severity
Indicates severity of the symptom
|
static class |
Symptom.SymptomType
Standardized symptom types.
|
Constructor and Description |
---|
Symptom(Symptom.SymptomType type,
Symptom.Severity severity,
String instanceId,
String info)
A Symptom object represents a structured observation reported by a component
with its health state.
|
Modifier and Type | Method and Description |
---|---|
String |
getInfo() |
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, String instanceId, 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 String getInstanceId()
public String getInfo()