| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultAlarm.Builder
Builder for the DefaultAlarm object.
|
Alarm.SeverityLevel| Modifier and Type | Method and Description |
|---|---|
boolean |
acknowledged()
Returns a flag to indicate if this alarm has been acknowledged.
|
String |
assignedUser()
Returns the user to whom this alarm is assigned; this is for future use
and always returns null in this release.
|
boolean |
cleared()
Returns a flag to indicate if this alarm has been cleared.
|
String |
description()
Returns a description of alarm.
|
DeviceId |
deviceId()
The device to which this alarm is related.
|
boolean |
equals(Object obj) |
int |
hashCode() |
AlarmId |
id()
Returns the unique alarm id within this ONOS instance.
|
boolean |
manuallyClearable()
Returns a flag to indicate if this alarm is manually-cleared by a user action within ONOS.
|
boolean |
serviceAffecting()
Returns true if alarm is service affecting Note: Whilst X.733 combines
service-affecting state with severity (where severities of critical and
major are deemed service-affecting) ONOS keeps these attributes separate.
|
Alarm.SeverityLevel |
severity()
Returns the severity.
|
AlarmEntityId |
source()
Returns an entity within the context of this alarm's device.
|
Long |
timeCleared()
Returns the time when cleared.
|
long |
timeRaised()
Returns the time when raised.
|
long |
timeUpdated()
Returns time at which the alarm was updated most recently, due to some
change in the device, or ONOS.
|
String |
toString() |
public AlarmId id()
Alarmpublic DeviceId deviceId()
Alarmpublic String description()
AlarmIt may encapsulate Event Type as described by ITU Recommendation X.736 ITU, Quoting https://tools.ietf.org/html/rfc3877 these include: other, communicationsAlarm, qualityOfServiceAlarm, processingErrorAlarm, equipmentAlarm, environmentalAlarm, integrityViolation, operationalViolation, physicalViolation, securityServiceOrMechanismViolation, timeDomainViolation
It may encapsulate Probable Cause as described by ITU Recommendation X.736 ITU, Quoting https://www.iana.org/assignments/ianaitualarmtc-mib/ianaitualarmtc-mib these include : aIS, callSetUpFailure, degradedSignal, farEndReceiverFailure, framingError, and hundreds more constants.
It may encapsulate a vendor-specific description of the underlying fault.
description in interface Alarmpublic AlarmEntityId source()
Alarmpublic long timeRaised()
AlarmtimeRaised in interface Alarmpublic long timeUpdated()
AlarmtimeUpdated in interface Alarmpublic Long timeCleared()
AlarmtimeCleared in interface Alarmpublic Alarm.SeverityLevel severity()
Alarmpublic boolean serviceAffecting()
AlarmserviceAffecting in interface Alarmpublic boolean acknowledged()
Alarmacknowledged in interface Alarmpublic boolean cleared()
Alarmpublic boolean manuallyClearable()
AlarmmanuallyClearable in interface Alarmpublic String assignedUser()
AlarmassignedUser in interface Alarm