public static interface NextObjective.Builder extends Objective.Builder
| Modifier and Type | Method and Description |
|---|---|
NextObjective |
add()
Builds the next objective that will be added.
|
NextObjective |
add(ObjectiveContext context)
Builds the next objective that will be added.
|
NextObjective.Builder |
addTreatment(TrafficTreatment treatment)
Adds a treatment to this next step.
|
NextObjective.Builder |
fromApp(ApplicationId appId)
Specifies the application which applied the filter.
|
NextObjective |
remove()
Builds the next objective that will be removed.
|
NextObjective |
remove(ObjectiveContext context)
Builds the next objective that will be removed.
|
NextObjective.Builder |
withId(int nextId)
Specifies the id for this next objective.
|
NextObjective.Builder |
withPriority(int priority)
Sets the priority for this objective.
|
NextObjective.Builder |
withType(NextObjective.Type type)
Sets the type of next step.
|
makePermanent, makeTemporaryNextObjective.Builder withId(int nextId)
nextId - an integerNextObjective.Builder withType(NextObjective.Type type)
type - a typeNextObjective.Builder addTreatment(TrafficTreatment treatment)
treatment - a traffic treatmentNextObjective.Builder fromApp(ApplicationId appId)
fromApp in interface Objective.BuilderappId - an application idNextObjective.Builder withPriority(int priority)
withPriority in interface Objective.Builderpriority - an integerNextObjective add()
NextObjective remove()
NextObjective add(ObjectiveContext context)
context - an objective contextNextObjective remove(ObjectiveContext context)
context - an objective contextCopyright © 2015. All rights reserved.