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