Enum Instruction.Type

    • Enum Constant Detail

      • NOACTION

        public static final Instruction.Type NOACTION
        Signifies that the traffic requires no action. In OF10, the behavior of NOACTION is DROP. In OF13, the behavior depends on current Action Set.
      • OUTPUT

        public static final Instruction.Type OUTPUT
        Signifies that the traffic should be output to a port.
      • GROUP

        public static final Instruction.Type GROUP
        Signifies that traffic should be sent out of a group.
      • QUEUE

        public static final Instruction.Type QUEUE
        Signifies that the traffic should be enqueued to an already-configured queue on a port.
      • METER

        public static final Instruction.Type METER
        Signifies that traffic should be metered according to a meter.
      • L0MODIFICATION

        public static final Instruction.Type L0MODIFICATION
        Signifies that the traffic should be modified in L0 way.
      • L1MODIFICATION

        public static final Instruction.Type L1MODIFICATION
        Signifies that the traffic should be modified in L1 way.
      • L2MODIFICATION

        public static final Instruction.Type L2MODIFICATION
        Signifies that the traffic should be modified in L2 way.
      • TABLE

        public static final Instruction.Type TABLE
        Signifies that the traffic should be passed to another table.
      • L3MODIFICATION

        public static final Instruction.Type L3MODIFICATION
        Signifies that the traffic should be modified in L3 way.
      • METADATA

        public static final Instruction.Type METADATA
        Signifies that metadata be attached to traffic.
      • L4MODIFICATION

        public static final Instruction.Type L4MODIFICATION
        Signifies that the traffic should be modified in L4 way.
      • PROTOCOL_INDEPENDENT

        public static final Instruction.Type PROTOCOL_INDEPENDENT
        Signifies that a protocol-independent instruction will be used.
      • EXTENSION

        public static final Instruction.Type EXTENSION
        Signifies that an extension instruction will be used.
      • STAT_TRIGGER

        public static final Instruction.Type STAT_TRIGGER
        Signifies that statistics will be triggered.
    • Method Detail

      • values

        public static Instruction.Type[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Instruction.Type c : Instruction.Type.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Instruction.Type valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null