@Beta public final class DefaultNextObjective extends java.lang.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.
|
java.util.Optional<ObjectiveContext> |
context()
Obtains an optional context.
|
DefaultNextObjective.Builder |
copy()
Returns a new builder set to create a copy of this objective.
|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
int |
id()
An identifier for this objective.
|
TrafficSelector |
meta()
Auxiliary optional information provided to the device driver.
|
java.util.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.
|
java.lang.String |
toString() |
NextObjective.Type |
type()
The type of operation that will be applied to the traffic using the collection
of treatments.
|
public java.util.Collection<TrafficTreatment> next()
NextObjective
next
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 java.util.Optional<ObjectiveContext> context()
Objective
public TrafficSelector meta()
NextObjective
meta
in interface NextObjective
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public static DefaultNextObjective.Builder builder()
public DefaultNextObjective.Builder copy()
Objective