Interface NextObjective.Builder
- 
- All Superinterfaces:
- Objective.Builder
 - All Known Implementing Classes:
- DefaultNextObjective.Builder
 - Enclosing interface:
- NextObjective
 
 public static interface NextObjective.Builder extends Objective.Builder A next step builder.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description NextObjectiveadd()Builds the next objective that will be added.NextObjectiveadd(ObjectiveContext context)Builds the next objective that will be added.NextObjectiveaddToExisting()Build the next objective that will be added, withObjective.OperationADD_TO_EXISTING.NextObjectiveaddToExisting(ObjectiveContext context)Builds the next objective that will be added, withObjective.OperationADD_TO_EXISTING.NextObjective.BuilderaddTreatment(TrafficTreatment treatment)Deprecated.in 1.14.2, replaced byaddTreatment(NextTreatment)NextObjective.BuilderaddTreatment(NextTreatment nextTreatment)Adds a next treatment to this next step.NextObjective.BuilderfromApp(ApplicationId appId)Specifies the application which applied the filter.NextObjectivemodify()Build the next objective that will be modified withObjective.OperationMODIFY.NextObjectivemodify(ObjectiveContext context)Build the next objective that will be modified, withObjective.OperationMODIFY.NextObjectiveremove()Builds the next objective that will be removed.NextObjectiveremove(ObjectiveContext context)Builds the next objective that will be removed.NextObjectiveremoveFromExisting()Build the next objective that will be removed, withObjective.OperationREMOVE_FROM_EXISTING.NextObjectiveremoveFromExisting(ObjectiveContext context)Builds the next objective that will be removed, withObjective.OperationREMOVE_FROM_EXISTING.NextObjectiveverify()Builds the next objective that needs to be verified.NextObjectiveverify(ObjectiveContext context)Builds the next objective that needs to be verified.NextObjective.BuilderwithId(int nextId)Specifies the id for this next objective.NextObjective.BuilderwithMeta(TrafficSelector selector)Set meta information related to this next objective.NextObjective.BuilderwithPriority(int priority)Sets the priority for this objective.NextObjective.BuilderwithType(NextObjective.Type type)Sets the type of next step.- 
Methods inherited from interface org.onosproject.net.flowobjective.Objective.BuildermakePermanent, makeTemporary
 
- 
 
- 
- 
- 
Method Detail- 
withIdNextObjective.Builder withId(int nextId) Specifies the id for this next objective.- Parameters:
- nextId- an integer
- Returns:
- a next objective builder
 
 - 
withTypeNextObjective.Builder withType(NextObjective.Type type) Sets the type of next step.- Parameters:
- type- a type
- Returns:
- a next step builder
 
 - 
addTreatment@Deprecated NextObjective.Builder addTreatment(TrafficTreatment treatment) Deprecated.in 1.14.2, replaced byaddTreatment(NextTreatment)Adds a treatment to this next step.- Parameters:
- treatment- a traffic treatment
- Returns:
- a next step builder
 
 - 
addTreatmentNextObjective.Builder addTreatment(NextTreatment nextTreatment) Adds a next treatment to this next step.- Parameters:
- nextTreatment- a next treatment
- Returns:
- a next step builder
 
 - 
fromAppNextObjective.Builder fromApp(ApplicationId appId) Specifies the application which applied the filter.- Specified by:
- fromAppin interface- Objective.Builder
- Parameters:
- appId- an application id
- Returns:
- an objective builder
 
 - 
withPriorityNextObjective.Builder withPriority(int priority) Sets the priority for this objective.- Specified by:
- withPriorityin interface- Objective.Builder
- Parameters:
- priority- an integer
- Returns:
- an objective builder
 
 - 
withMetaNextObjective.Builder withMeta(TrafficSelector selector) Set meta information related to this next objective.- Parameters:
- selector- match conditions
- Returns:
- an objective builder
 
 - 
addNextObjective add() Builds the next objective that will be added.- Specified by:
- addin interface- Objective.Builder
- Returns:
- a next objective
 
 - 
removeNextObjective remove() Builds the next objective that will be removed.- Specified by:
- removein interface- Objective.Builder
- Returns:
- a next objective.
 
 - 
addNextObjective add(ObjectiveContext context) Builds the next objective that will be added. The context will be used to notify the calling application.- Specified by:
- addin interface- Objective.Builder
- Parameters:
- context- an objective context
- Returns:
- a next objective
 
 - 
removeNextObjective remove(ObjectiveContext context) Builds the next objective that will be removed. The context will be used to notify the calling application.- Specified by:
- removein interface- Objective.Builder
- Parameters:
- context- an objective context
- Returns:
- a next objective
 
 - 
addToExistingNextObjective addToExisting() Build the next objective that will be added, withObjective.OperationADD_TO_EXISTING.- Returns:
- a next objective
 
 - 
removeFromExistingNextObjective removeFromExisting() Build the next objective that will be removed, withObjective.OperationREMOVE_FROM_EXISTING.- Returns:
- a next objective
 
 - 
addToExistingNextObjective addToExisting(ObjectiveContext context) Builds the next objective that will be added, withObjective.OperationADD_TO_EXISTING. The context will be used to notify the calling application.- Parameters:
- context- an objective context
- Returns:
- a next objective
 
 - 
removeFromExistingNextObjective removeFromExisting(ObjectiveContext context) Builds the next objective that will be removed, withObjective.OperationREMOVE_FROM_EXISTING. The context will be used to notify the calling application.- Parameters:
- context- an objective context
- Returns:
- a next objective
 
 - 
modifyNextObjective modify() Build the next objective that will be modified withObjective.OperationMODIFY.- Returns:
- a next objective
 
 - 
modifyNextObjective modify(ObjectiveContext context) Build the next objective that will be modified, withObjective.OperationMODIFY. The context will be used to notify the calling application.- Parameters:
- context- an objective context
- Returns:
- a next objective
 
 - 
verifyNextObjective verify() Builds the next objective that needs to be verified.- Returns:
- a next objective with Objective.OperationVERIFY
 
 - 
verifyNextObjective verify(ObjectiveContext context) Builds the next objective that needs to be verified. The context will be used to notify the calling application.- Parameters:
- context- an objective context
- Returns:
- a next objective with Objective.OperationVERIFY
 
 
- 
 
-