Class IntObjective
- java.lang.Object
-
- org.onosproject.net.behaviour.inbandtelemetry.IntObjective
-
public final class IntObjective extends java.lang.Object
Represents a device-level objective to collect INT metadata for packets identified by a traffic selector.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
IntObjective.Builder
An IntObjective builder.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IntObjective.Builder
builder()
Returns a new INT objective builder.boolean
equals(java.lang.Object o)
int
hashCode()
java.util.Set<IntMetadataType>
metadataTypes()
Returns a set of metadata types specified in this objective.TrafficSelector
selector()
Returns traffic selector of this objective.
-
-
-
Method Detail
-
selector
public TrafficSelector selector()
Returns traffic selector of this objective.- Returns:
- traffic selector
-
metadataTypes
public java.util.Set<IntMetadataType> metadataTypes()
Returns a set of metadata types specified in this objective.- Returns:
- instruction bitmap
-
builder
public static IntObjective.Builder builder()
Returns a new INT objective builder.- Returns:
- INT objective builder
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-