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()
Alarm
public DeviceId deviceId()
Alarm
public String description()
Alarm
It 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 Alarm
public AlarmEntityId source()
Alarm
public long timeRaised()
Alarm
timeRaised
in interface Alarm
public long timeUpdated()
Alarm
timeUpdated
in interface Alarm
public Long timeCleared()
Alarm
timeCleared
in interface Alarm
public Alarm.SeverityLevel severity()
Alarm
public boolean serviceAffecting()
Alarm
serviceAffecting
in interface Alarm
public boolean acknowledged()
Alarm
acknowledged
in interface Alarm
public boolean cleared()
Alarm
public boolean manuallyClearable()
Alarm
manuallyClearable
in interface Alarm
public String assignedUser()
Alarm
assignedUser
in interface Alarm