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 Summary
Fields Modifier and Type Field Description static int
DEFAULT_WEIGHT
-
Constructor Summary
Constructors 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_WEIGHT
public static final int DEFAULT_WEIGHT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
WeightedAction
public 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 actionweight
- the weigh
-
-