Class PiCriterion
- java.lang.Object
- 
- org.onosproject.net.flow.criteria.PiCriterion
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classPiCriterion.BuilderPiCriterion Builder.- 
Nested classes/interfaces inherited from interface org.onosproject.net.flow.criteria.CriterionCriterion.IPv6ExthdrFlags, Criterion.TcpFlags, Criterion.Type
 
- 
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PiCriterion.Builderbuilder()Returns the PiCriterion builder.booleanequals(java.lang.Object o)java.util.Optional<PiFieldMatch>fieldMatch(PiMatchFieldId fieldId)If present, returns the field match associated with the given header field identifier.java.util.Collection<PiFieldMatch>fieldMatches()Returns all protocol-independent field matches defined by this criterion.inthashCode()java.lang.StringtoString()Criterion.Typetype()Returns the type of criterion.
 
- 
- 
- 
Method Detail- 
fieldMatchespublic java.util.Collection<PiFieldMatch> fieldMatches() Returns all protocol-independent field matches defined by this criterion.- Returns:
- collection of match parameters
 
 - 
fieldMatchpublic java.util.Optional<PiFieldMatch> fieldMatch(PiMatchFieldId fieldId) If present, returns the field match associated with the given header field identifier.- Parameters:
- fieldId- field identifier
- Returns:
- optional field match
 
 - 
typepublic Criterion.Type type() Description copied from interface:CriterionReturns the type of criterion.
 - 
equalspublic boolean equals(java.lang.Object o) - Overrides:
- equalsin class- java.lang.Object
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 - 
builderpublic static PiCriterion.Builder builder() Returns the PiCriterion builder.- Returns:
- PiCriterion builder
 
 
- 
 
-