@Beta public final class PolicerId extends Identifier<java.lang.String>
Policer
.
It uniquely identifies a Policer in the scope of a single device inside ONOS. There may not be any
correspondence with the identifiers of the technology implementing the Policer in the device.
Mapping (if necessary) is left to the specific implementation.Modifier and Type | Field and Description |
---|---|
static PolicerId |
NONE
Represents either no id, or an unspecified id.
|
identifier
Modifier and Type | Method and Description |
---|---|
static PolicerId |
policerId(java.lang.String string)
Creates a policer id using the supplied URI string.
|
static PolicerId |
policerId(java.net.URI uri)
Creates a policer id using the supplied URI.
|
java.net.URI |
uri()
Returns the backing URI.
|
equals, hashCode, id, toString
public static final PolicerId NONE
public static PolicerId policerId(java.net.URI uri)
uri
- policer id URIpublic static PolicerId policerId(java.lang.String string)
string
- policer id URI stringpublic java.net.URI uri()