Interface NextObjective
- 
- All Superinterfaces:
 Objective
- All Known Implementing Classes:
 DefaultNextObjective
@Beta public interface NextObjective extends Objective
Represents a nexthop which will be translated by a driver into the appropriate group or actions needed to implement the egress function. A next objective is made up of a collection of traffic treatments associated with a type. These types are: - Hashed - Broadcast - Failover - Simple These types will indicate to the driver what the intended behavior is. For example, a broadcast next objective with a collection of output treatments will indicate to a driver that all output actions are expected to be executed simultaneously. The driver is then free to implement this as a group or a simple action list. 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceNextObjective.BuilderA next step builder.static classNextObjective.TypeRepresents the type of next phase to build.- 
Nested classes/interfaces inherited from interface org.onosproject.net.flowobjective.Objective
Objective.Operation 
 - 
 
- 
Field Summary
- 
Fields inherited from interface org.onosproject.net.flowobjective.Objective
DEFAULT_PERMANENT, DEFAULT_PRIORITY, DEFAULT_TIMEOUT, MAX_PRIORITY, MIN_PRIORITY 
 - 
 
- 
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description NextObjective.Buildercopy()Returns a new builder set to create a copy of this objective.TrafficSelectormeta()Auxiliary optional information provided to the device driver.java.util.Collection<TrafficTreatment>next()Deprecated.in 1.14.2, replaced bynextTreatments()java.util.Collection<NextTreatment>nextTreatments()The collection of next treatments that need to be applied to a set of traffic.NextObjective.Typetype()The type of operation that will be applied to the traffic using the collection of treatments. 
 - 
 
- 
- 
Method Detail
- 
next
@Deprecated java.util.Collection<TrafficTreatment> next()
Deprecated.in 1.14.2, replaced bynextTreatments()The collection of treatments that need to be applied to a set of traffic.- Returns:
 - a collection of traffic treatments
 
 
- 
nextTreatments
java.util.Collection<NextTreatment> nextTreatments()
The collection of next treatments that need to be applied to a set of traffic.- Returns:
 - a collection of next treatments
 
 
- 
type
NextObjective.Type type()
The type of operation that will be applied to the traffic using the collection of treatments.- Returns:
 - a type
 
 
- 
meta
TrafficSelector meta()
Auxiliary optional information provided to the device driver. Typically conveys information about selectors (matches) that are intended to use this Next Objective.- Returns:
 - a selector intended to pass meta information to the device driver. Value may be null if no meta information is provided.
 
 
- 
copy
NextObjective.Builder copy()
Returns a new builder set to create a copy of this objective. 
 - 
 
 -