Class IdNextTreatment
- java.lang.Object
 - 
- org.onosproject.net.flowobjective.IdNextTreatment
 
 
- 
- All Implemented Interfaces:
 NextTreatment
public final class IdNextTreatment extends java.lang.Object implements NextTreatment
Represents a next action specified by next id. 
- 
- 
Nested Class Summary
- 
Nested classes/interfaces inherited from interface org.onosproject.net.flowobjective.NextTreatment
NextTreatment.Type 
 - 
 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)inthashCode()intnextId()Returns next id.static IdNextTreatmentof(int nextId)Returns an instance of IdNextTreatment with given next id.java.lang.StringtoString()NextTreatment.Typetype()Type of this next action. 
 - 
 
- 
- 
Method Detail
- 
nextId
public int nextId()
Returns next id.- Returns:
 - next id
 
 
- 
of
public static IdNextTreatment of(int nextId)
Returns an instance of IdNextTreatment with given next id.- Parameters:
 nextId- next id- Returns:
 - an instance of IdNextTreatment
 
 
- 
type
public NextTreatment.Type type()
Description copied from interface:NextTreatmentType of this next action.- Specified by:
 typein interfaceNextTreatment- Returns:
 - 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
 
 - 
 
 -