Class PiAction

  • All Implemented Interfaces:
    PiTableAction

    @Beta
    public final class PiAction
    extends java.lang.Object
    implements PiTableAction
    Instance of an action, and its runtime parameters, of a table entry in a protocol-independent pipeline.
    • Method Detail

      • id

        public PiActionId id()
        Return the identifier of this action.
        Returns:
        action identifier
      • parameters

        public java.util.Collection<PiActionParam> parameters()
        Returns all runtime parameters of this action. Return an empty collection if the action doesn't take any runtime parameters.
        Returns:
        list of byte sequences
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • builder

        public static PiAction.Builder builder()
        Returns an action builder.
        Returns:
        a new builder