Class PartialFailureConstraint
- java.lang.Object
-
- org.onosproject.net.intent.constraint.MarkerConstraint
-
- org.onosproject.net.intent.constraint.PartialFailureConstraint
-
- All Implemented Interfaces:
Constraint
public final class PartialFailureConstraint extends MarkerConstraint
A constraint that allows intents that can only be partially compiled (i.e. MultiPointToSinglePointIntent or SinglePointToMultiPointIntent) to be installed when some endpoints or paths are not found.
-
-
Constructor Summary
Constructors Constructor Description PartialFailureConstraint()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static boolean
intentAllowsPartialFailure(Intent intent)
String
toString()
-
Methods inherited from class org.onosproject.net.intent.constraint.MarkerConstraint
cost, equals, hashCode, validate
-
-
-
-
Method Detail
-
intentAllowsPartialFailure
public static boolean intentAllowsPartialFailure(Intent intent)
-
toString
public String toString()
- Overrides:
toString
in classMarkerConstraint
-
-