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 classPiMeterCellConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PiMeterCellConfig.Builderbuilder()Returns a meter cell configuration builder.PiMeterCellIdcellId()Returns the cell identifier.booleanequals(Object o)PiMeterCellHandlehandle(DeviceId deviceId)Returns a handle for this PI entity and the given device ID.inthashCode()Collection<PiMeterBand>meterBands()Returns the collection of bands of this cell.PiEntityTypepiEntityType()Returns the type of this entity.StringtoString()
-
-
-
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:PiEntityReturns the type of this entity.- Specified by:
piEntityTypein interfacePiEntity- Returns:
- entity type
-
handle
public PiMeterCellHandle handle(DeviceId deviceId)
Description copied from interface:PiEntityReturns 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
-
-