Package org.onosproject.net.pi.runtime
Class PiActionSet.WeightedAction
- java.lang.Object
- 
- org.onosproject.net.pi.runtime.PiActionSet.WeightedAction
 
- 
- Enclosing class:
- PiActionSet
 
 public static final class PiActionSet.WeightedAction extends Object Weighted action used in an actions set.
- 
- 
Field SummaryFields Modifier and Type Field Description static intDEFAULT_WEIGHT
 - 
Constructor SummaryConstructors Constructor Description WeightedAction(PiAction action, int weight)Creates a new weighted action instance that can be used in an action set, from the given PI action and weight.
 
- 
- 
- 
Field Detail- 
DEFAULT_WEIGHTpublic static final int DEFAULT_WEIGHT - See Also:
- Constant Field Values
 
 
- 
 - 
Constructor Detail- 
WeightedActionpublic WeightedAction(PiAction action, int weight) Creates a new weighted action instance that can be used in an action set, from the given PI action and weight.- Parameters:
- action- the action
- weight- the weigh
 
 
- 
 
-