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 booleanequals(java.lang.Object obj)inthashCode()longmetadata()longmetadataMask()java.lang.StringtoString()Instruction.Typetype()Returns the type of instruction.
-
-
-
Method Detail
-
type
public Instruction.Type type()
Description copied from interface:InstructionReturns the type of instruction.- Specified by:
typein interfaceInstruction- Returns:
- type of instruction
-
metadata
public long metadata()
-
metadataMask
public long metadataMask()
-
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
-
-