Class ExtensionTreatmentType
- java.lang.Object
-
- org.onosproject.net.flow.instructions.ExtensionTreatmentType
-
@Beta public final class ExtensionTreatmentType extends java.lang.ObjectType of treatment extensions.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classExtensionTreatmentType.ExtensionTreatmentTypesA 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 booleanequals(java.lang.Object obj)inthashCode()java.lang.StringtoString()inttype()Returns extension treatment type.
-
-
-
Method Detail
-
type
public int type()
Returns extension treatment type.- Returns:
- extension treatment type
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-