Class PiActionSet.Builder

  • Enclosing class:
    PiActionSet

    public static final class PiActionSet.Builder
    extends Object
    Builder of an action set.
    • Method Detail

      • addWeightedAction

        public PiActionSet.Builder addWeightedAction​(PiAction action,
                                                     int weight)
        Adds a weighted action to this action set.
        Parameters:
        action - The action to add
        weight - The weight associated to the action
        Returns:
        this
      • build

        public PiActionSet build()
        Creates a new action profile action set.
        Returns:
        action profile action set