public static interface ForwardingObjective.Builder extends Objective.Builder
| Modifier and Type | Method and Description | 
|---|---|
ForwardingObjective | 
add()
Builds the forwarding objective that will be added. 
 | 
ForwardingObjective | 
add(ObjectiveContext context)
Builds the forwarding objective that will be added. 
 | 
ForwardingObjective.Builder | 
fromApp(ApplicationId appId)
Assigns an application id. 
 | 
ForwardingObjective.Builder | 
makePermanent()
Makes the filtering objective permanent. 
 | 
ForwardingObjective.Builder | 
nextStep(int nextId)
Assigns a next step to the forwarding objective. 
 | 
ForwardingObjective | 
remove()
Builds the forwarding objective that will be removed. 
 | 
ForwardingObjective | 
remove(ObjectiveContext context)
Builds the forwarding objective that will be removed. 
 | 
ForwardingObjective.Builder | 
withFlag(ForwardingObjective.Flag flag)
Assigns the flag to the forwarding objective. 
 | 
ForwardingObjective.Builder | 
withMeta(TrafficSelector selector)
Set meta information related to this forwarding objective. 
 | 
ForwardingObjective.Builder | 
withPriority(int priority)
Sets the priority for this objective. 
 | 
ForwardingObjective.Builder | 
withSelector(TrafficSelector selector)
Assigns a selector to the forwarding objective. 
 | 
ForwardingObjective.Builder | 
withTreatment(TrafficTreatment treatment)
Assigns the treatment for this forwarding objective. 
 | 
makeTemporaryForwardingObjective.Builder withSelector(TrafficSelector selector)
selector - a traffic selectorForwardingObjective.Builder nextStep(int nextId)
nextId - a next objective id.ForwardingObjective.Builder withTreatment(TrafficTreatment treatment)
treatment - a traffic treatmentForwardingObjective.Builder withFlag(ForwardingObjective.Flag flag)
flag - a flagForwardingObjective.Builder withMeta(TrafficSelector selector)
selector - match conditionsForwardingObjective.Builder fromApp(ApplicationId appId)
fromApp in interface Objective.BuilderappId - an application idForwardingObjective.Builder withPriority(int priority)
withPriority in interface Objective.Builderpriority - an integerForwardingObjective.Builder makePermanent()
makePermanent in interface Objective.BuilderForwardingObjective add()
add in interface Objective.BuilderForwardingObjective remove()
remove in interface Objective.BuilderForwardingObjective add(ObjectiveContext context)
add in interface Objective.Buildercontext - an objective contextForwardingObjective remove(ObjectiveContext context)
remove in interface Objective.Buildercontext - an objective context