public static interface Objective.Builder
Modifier and Type | Method and Description |
---|---|
Objective |
add()
Builds the objective that will be added.
|
Objective |
add(ObjectiveContext context)
Builds the objective that will be added.
|
Objective.Builder |
fromApp(ApplicationId appId)
Specifies the application which applied the filter.
|
Objective.Builder |
makePermanent()
Makes the filtering objective permanent.
|
Objective.Builder |
makeTemporary(int timeout)
Makes the filtering objective temporary.
|
Objective |
remove()
Builds the objective that will be removed.
|
Objective |
remove(ObjectiveContext context)
Builds the objective that will be removed.
|
Objective.Builder |
withPriority(int priority)
Sets the priority for this objective.
|
Objective.Builder makeTemporary(int timeout)
timeout
- a timeoutObjective.Builder makePermanent()
Objective.Builder fromApp(ApplicationId appId)
appId
- an application idObjective.Builder withPriority(int priority)
priority
- an integerObjective add()
Objective remove()
Objective add(ObjectiveContext context)
context
- an objective contextObjective remove(ObjectiveContext context)
context
- an objective context