@Beta public final class DefaultNextObjective extends java.lang.Object implements NextObjective
| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultNextObjective.Builder |
NextObjective.TypeObjective.OperationDEFAULT_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()
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 java.util.Optional<ObjectiveContext> context()
Objectivepublic TrafficSelector meta()
NextObjectivemeta in interface NextObjectivepublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic static DefaultNextObjective.Builder builder()
public DefaultNextObjective.Builder copy()
Objective