@Beta public final class DefaultFilteringObjective extends 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.
|
Collection<Criterion> |
conditions()
The set of conditions the filter must provision at the device.
|
Optional<ObjectiveContext> |
context()
Obtains an optional context.
|
DefaultFilteringObjective.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.
|
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.
|
String |
toString() |
FilteringObjective.Type |
type()
Obtain this filtering type.
|
public Criterion key()
FilteringObjectivekey in interface FilteringObjectivepublic FilteringObjective.Type type()
FilteringObjectivetype in interface FilteringObjectivepublic 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 Optional<ObjectiveContext> context()
Objectivepublic static DefaultFilteringObjective.Builder builder()
public DefaultFilteringObjective.Builder copy()
FilteringObjectivecopy in interface FilteringObjectivecopy in interface Objective