Package org.onosproject.net.pi.model
Interface PiActionParamModel
- 
 @Beta public interface PiActionParamModelModel of an action runtime parameter in a protocol-independent pipeline.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description intbitWidth()Return the size in bits of this action parameter.booleanhasBitWidth()Return true is the action parameters has a predefined bit width.PiActionParamIdid()Returns the ID of this action parameter.
 
- 
- 
- 
Method Detail- 
idPiActionParamId id() Returns the ID of this action parameter.- Returns:
- action parameter ID
 
 - 
bitWidthint bitWidth() Return the size in bits of this action parameter. It returns -1 if the bit width of the action parameters is not predefined.- Returns:
- size in bits, -1 if not predefined
 
 - 
hasBitWidthboolean hasBitWidth() Return true is the action parameters has a predefined bit width. It returns false if it can have arbitrary bit width.- Returns:
- True if the action parameter has predefined bit width, false otherwise
 
 
- 
 
-