Class Instructions.TruncateInstruction
- java.lang.Object
-
- org.onosproject.net.flow.instructions.Instructions.TruncateInstruction
-
- All Implemented Interfaces:
Instruction
- Enclosing class:
- Instructions
public static final class Instructions.TruncateInstruction extends Object implements Instruction
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.onosproject.net.flow.instructions.Instruction
Instruction.Type
-
-
Constructor Summary
Constructors Constructor Description TruncateInstruction(int maxLen)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
int
hashCode()
int
maxLen()
String
toString()
Instruction.Type
type()
Returns the type of instruction.
-
-
-
Method Detail
-
maxLen
public int maxLen()
-
type
public Instruction.Type type()
Description copied from interface:Instruction
Returns the type of instruction.- Specified by:
type
in interfaceInstruction
- Returns:
- type of instruction
-
-