Class Instructions.MeterInstruction
- java.lang.Object
-
- org.onosproject.net.flow.instructions.Instructions.MeterInstruction
-
- All Implemented Interfaces:
Instruction
- Enclosing class:
- Instructions
public static final class Instructions.MeterInstruction extends Object implements Instruction
A meter 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 boolean
equals(Object obj)
int
hashCode()
MeterId
meterId()
String
toString()
Instruction.Type
type()
Returns the type of instruction.
-
-
-
Method Detail
-
meterId
public MeterId meterId()
-
type
public Instruction.Type type()
Description copied from interface:Instruction
Returns the type of instruction.- Specified by:
type
in interfaceInstruction
- Returns:
- type of instruction
-
-