public static interface FilteringObjective.Builder extends Objective.Builder
| Modifier and Type | Method and Description |
|---|---|
FilteringObjective |
add()
Builds the filtering objective that will be added.
|
FilteringObjective |
add(ObjectiveContext context)
Builds the filtering objective that will be added.
|
FilteringObjective.Builder |
addCondition(Criterion criterion)
Add a filtering condition.
|
FilteringObjective.Builder |
deny()
Deny this filtering condition set.
|
FilteringObjective.Builder |
fromApp(ApplicationId appId)
Assigns an application id.
|
FilteringObjective.Builder |
permit()
Permit this filtering condition set.
|
FilteringObjective |
remove()
Builds the filtering objective that will be removed.
|
FilteringObjective |
remove(ObjectiveContext context)
Builds the filtering objective that will be removed.
|
FilteringObjective.Builder |
withKey(Criterion key)
Specify the key for the filter.
|
FilteringObjective.Builder |
withMeta(TrafficTreatment treatment)
Set meta information about this filtering condition set.
|
makePermanent, makeTemporary, withPriorityFilteringObjective.Builder withKey(Criterion key)
key - a criterionFilteringObjective.Builder addCondition(Criterion criterion)
criterion - new criterionFilteringObjective.Builder permit()
FilteringObjective.Builder deny()
FilteringObjective.Builder withMeta(TrafficTreatment treatment)
treatment - traffic treatment to useFilteringObjective.Builder fromApp(ApplicationId appId)
fromApp in interface Objective.BuilderappId - an application idFilteringObjective add()
add in interface Objective.BuilderFilteringObjective remove()
remove in interface Objective.BuilderFilteringObjective add(ObjectiveContext context)
add in interface Objective.Buildercontext - an objective contextFilteringObjective remove(ObjectiveContext context)
remove in interface Objective.Buildercontext - an objective context