@Beta
public final class AlarmId
extends org.onlab.util.Identifier<java.lang.String>
This class is immutable.
| Modifier and Type | Method and Description |
|---|---|
static AlarmId |
alarmId(org.onosproject.net.DeviceId id,
java.lang.String uniqueIdentifier)
Creates an alarm identifier from the specified device id and
unique identifier provided representation.
|
static AlarmId |
alarmId(java.lang.String globallyUniqueIdentifier)
Creates an alarm identifier from the specified globally unique identifier.
|
public static AlarmId alarmId(org.onosproject.net.DeviceId id, java.lang.String uniqueIdentifier)
id - device iduniqueIdentifier - per device unique identifier of the alarmpublic static AlarmId alarmId(java.lang.String globallyUniqueIdentifier)
globallyUniqueIdentifier - the globally unique identifier of the Alarm,
device Id + local unique identifier on the device