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 java.lang.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 booleanequals(java.lang.Object obj)inthashCode()MeterIdmeterId()java.lang.StringtoString()Instruction.Typetype()Returns the type of instruction.
-
-
-
Method Detail
-
meterId
public MeterId meterId()
-
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
-
-