Package org.onosproject.net.pi.model
Interface PiActionModel
- 
@Beta public interface PiActionModelModel of an action with runtime parameters in a protocol-independent pipeline. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PiActionIdid()Returns the ID of the action.Optional<PiActionParamModel>param(PiActionParamId paramId)Returns the model of the action's parameter defined by the given ID, if present.Collection<PiActionParamModel>params()Returns the collection of all parameter models for the action, or an empty collection if this action has no parameters. 
 - 
 
- 
- 
Method Detail
- 
id
PiActionId id()
Returns the ID of the action.- Returns:
 - action ID
 
 
- 
param
Optional<PiActionParamModel> param(PiActionParamId paramId)
Returns the model of the action's parameter defined by the given ID, if present.- Parameters:
 paramId- parameter ID- Returns:
 - action parameter model
 
 
- 
params
Collection<PiActionParamModel> params()
Returns the collection of all parameter models for the action, or an empty collection if this action has no parameters.- Returns:
 - collection of action parameter models
 
 
 - 
 
 -