@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, 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()
NextObjectivenext in interface NextObjectivepublic Collection<NextTreatment> nextTreatments()
NextObjectivenextTreatments 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 TrafficSelector meta()
NextObjectivemeta in interface NextObjectivepublic static DefaultNextObjective.Builder builder()
public DefaultNextObjective.Builder copy()
NextObjectivecopy in interface NextObjectivecopy in interface Objective