Class ExtensionTreatmentType
- java.lang.Object
-
- org.onosproject.net.flow.instructions.ExtensionTreatmentType
-
@Beta public final class ExtensionTreatmentType extends java.lang.Object
Type of treatment extensions.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ExtensionTreatmentType.ExtensionTreatmentTypes
A list of well-known named extension instruction type codes.
-
Constructor Summary
Constructors Constructor Description ExtensionTreatmentType(int type)
Creates an extension type with the given int type code.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
int
hashCode()
java.lang.String
toString()
int
type()
Returns extension treatment type.
-
-
-
Method Detail
-
type
public int type()
Returns extension treatment type.- Returns:
- extension treatment type
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-