@Beta public final class DefaultNextObjective extends Object implements NextObjective
| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultNextObjective.Builder |
NextObjective.TypeObjective.OperationDEFAULT_PERMANENT, DEFAULT_PRIORITY, DEFAULT_TIMEOUT| Modifier and Type | Method and Description |
|---|---|
ApplicationId |
appId()
The application which applied this objective.
|
static DefaultNextObjective.Builder |
builder()
Returns a new builder.
|
Optional<ObjectiveContext> |
context()
Obtains an optional context.
|
int |
id()
An identifier for this objective.
|
Collection<TrafficTreatment> |
next()
The collection of treatments that need to be applied to a set of traffic.
|
Objective.Operation |
op()
The type of operation for this objective.
|
boolean |
permanent()
Whether this objective is permanent.
|
int |
priority()
The priority for this objective.
|
int |
timeout()
The timeout for this objective.
|
NextObjective.Type |
type()
The type of operation that will be applied to the traffic using the collection
of treatments.
|
public Collection<TrafficTreatment> next()
NextObjectivenext in interface NextObjectivepublic NextObjective.Type type()
NextObjectivetype in interface NextObjectivepublic int id()
Objectivepublic int priority()
Objectivepublic ApplicationId appId()
Objectivepublic int timeout()
Objectivepublic boolean permanent()
Objectivepublic Objective.Operation op()
Objectivepublic Optional<ObjectiveContext> context()
Objectivepublic static DefaultNextObjective.Builder builder()
Copyright © 2015. All rights reserved.