@Beta public final class DefaultNextObjective extends Object implements NextObjective
Modifier and Type | Class and Description |
---|---|
static class |
DefaultNextObjective.Builder |
NextObjective.Type
Objective.Operation
DEFAULT_PERMANENT, DEFAULT_PRIORITY, DEFAULT_TIMEOUT, MAX_PRIORITY, MIN_PRIORITY
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.
|
DefaultNextObjective.Builder |
copy()
Returns a new builder set to create a copy of this objective.
|
boolean |
equals(Object obj) |
int |
hashCode() |
int |
id()
An identifier for this objective.
|
TrafficSelector |
meta()
Auxiliary optional information provided to the device driver.
|
Collection<TrafficTreatment> |
next()
The collection of treatments that need to be applied to a set of traffic.
|
Collection<NextTreatment> |
nextTreatments()
The collection of next 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.
|
String |
toString() |
NextObjective.Type |
type()
The type of operation that will be applied to the traffic using the collection
of treatments.
|
public Collection<TrafficTreatment> next()
NextObjective
next
in interface NextObjective
public Collection<NextTreatment> nextTreatments()
NextObjective
nextTreatments
in interface NextObjective
public NextObjective.Type type()
NextObjective
type
in interface NextObjective
public int id()
Objective
public int priority()
Objective
public ApplicationId appId()
Objective
public int timeout()
Objective
public boolean permanent()
Objective
public Objective.Operation op()
Objective
public Optional<ObjectiveContext> context()
Objective
public TrafficSelector meta()
NextObjective
meta
in interface NextObjective
public static DefaultNextObjective.Builder builder()
public DefaultNextObjective.Builder copy()
NextObjective
copy
in interface NextObjective
copy
in interface Objective