Package org.onosproject.net.pi.runtime
Class PiMeterCellConfig
- java.lang.Object
-
- org.onosproject.net.pi.runtime.PiMeterCellConfig
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PiMeterCellConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PiMeterCellConfig.Builder
builder()
Returns a meter cell configuration builder.PiMeterCellId
cellId()
Returns the cell identifier.boolean
equals(Object o)
PiMeterCellHandle
handle(DeviceId deviceId)
Returns a handle for this PI entity and the given device ID.int
hashCode()
Collection<PiMeterBand>
meterBands()
Returns the collection of bands of this cell.PiEntityType
piEntityType()
Returns the type of this entity.String
toString()
-
-
-
Method Detail
-
cellId
public PiMeterCellId cellId()
Returns the cell identifier.- Returns:
- cell identifier
-
meterBands
public Collection<PiMeterBand> meterBands()
Returns the collection of bands of this cell.- Returns:
- meter bands
-
piEntityType
public PiEntityType piEntityType()
Description copied from interface:PiEntity
Returns the type of this entity.- Specified by:
piEntityType
in interfacePiEntity
- Returns:
- entity type
-
handle
public PiMeterCellHandle handle(DeviceId deviceId)
Description copied from interface:PiEntity
Returns a handle for this PI entity and the given device ID.
-
builder
public static PiMeterCellConfig.Builder builder()
Returns a meter cell configuration builder.- Returns:
- a new builder
-
-