Class Instructions.OutputInstruction
- java.lang.Object
-
- org.onosproject.net.flow.instructions.Instructions.OutputInstruction
-
- All Implemented Interfaces:
Instruction
- Enclosing class:
- Instructions
public static final class Instructions.OutputInstruction extends java.lang.Object implements Instruction
Output Instruction.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.onosproject.net.flow.instructions.Instruction
Instruction.Type
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)inthashCode()PortNumberport()java.lang.StringtoString()Instruction.Typetype()Returns the type of instruction.
-
-
-
Method Detail
-
port
public PortNumber port()
-
type
public Instruction.Type type()
Description copied from interface:InstructionReturns the type of instruction.- Specified by:
typein interfaceInstruction- Returns:
- type of instruction
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-