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 booleanequals(Object o)inthashCode()intmaxLen()StringtoString()Instruction.Typetype()Returns the type of instruction.
-
-
-
Method Detail
-
maxLen
public int maxLen()
-
type
public Instruction.Type type()
Description copied from interface:InstructionReturns the type of instruction.- Specified by:
typein interfaceInstruction- Returns:
- type of instruction
-
-