public final class DefaultTrafficTreatment extends Object implements TrafficTreatment
| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultTrafficTreatment.Builder
Builds a list of treatments following the following order.
|
| Modifier and Type | Method and Description |
|---|---|
static TrafficTreatment.Builder |
builder()
Returns a new traffic treatment builder.
|
static TrafficTreatment.Builder |
builder(TrafficTreatment treatment)
Returns a new traffic treatment builder primed to produce entities
patterned after the supplied treatment.
|
boolean |
equals(Object obj) |
int |
hashCode() |
List<Instruction> |
instructions()
Returns list of instructions on how to treat traffic.
|
String |
toString() |
public List<Instruction> instructions()
TrafficTreatmentinstructions in interface TrafficTreatmentpublic static TrafficTreatment.Builder builder()
public static TrafficTreatment.Builder builder(TrafficTreatment treatment)
treatment - base treatmentCopyright © 2015. All rights reserved.