@Beta public final class DefaultFilteringObjective extends java.lang.Object implements FilteringObjective
Modifier and Type | Class and Description |
---|---|
static class |
DefaultFilteringObjective.Builder |
FilteringObjective.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 DefaultFilteringObjective.Builder |
builder()
Returns a new builder.
|
java.util.Collection<Criterion> |
conditions()
The set of conditions the filter must provision at the device.
|
java.util.Optional<ObjectiveContext> |
context()
Obtains an optional context.
|
DefaultFilteringObjective.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.
|
Criterion |
key()
Obtain the key for this filter.
|
TrafficTreatment |
meta()
Auxiliary optional information provided to the device driver.
|
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() |
FilteringObjective.Type |
type()
Obtain this filtering type.
|
public Criterion key()
FilteringObjective
key
in interface FilteringObjective
public FilteringObjective.Type type()
FilteringObjective
type
in interface FilteringObjective
public java.util.Collection<Criterion> conditions()
FilteringObjective
conditions
in interface FilteringObjective
public int id()
Objective
public TrafficTreatment meta()
FilteringObjective
meta
in interface FilteringObjective
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 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 DefaultFilteringObjective.Builder builder()
public DefaultFilteringObjective.Builder copy()
Objective