@Beta public final class DefaultFilteringObjective extends java.lang.Object implements FilteringObjective
| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultFilteringObjective.Builder |
FilteringObjective.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 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()
FilteringObjectivekey in interface FilteringObjectivepublic FilteringObjective.Type type()
FilteringObjectivetype in interface FilteringObjectivepublic java.util.Collection<Criterion> conditions()
FilteringObjectiveconditions in interface FilteringObjectivepublic int id()
Objectivepublic TrafficTreatment meta()
FilteringObjectivemeta in interface FilteringObjectivepublic int priority()
Objectivepublic ApplicationId appId()
Objectivepublic int timeout()
Objectivepublic boolean permanent()
Objectivepublic Objective.Operation op()
Objectivepublic java.util.Optional<ObjectiveContext> context()
Objectivepublic 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 DefaultFilteringObjective.Builder builder()
public DefaultFilteringObjective.Builder copy()
FilteringObjectivecopy in interface FilteringObjectivecopy in interface Objective