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