Adds the control for Encapsulation Constraint.
Change-Id: I98b09704d077d55ea0f65b15fb11da61e52851ac
Showing
1 changed file
with
3 additions
and
0 deletions
| ... | @@ -58,6 +58,7 @@ public final class IntentUtils { | ... | @@ -58,6 +58,7 @@ public final class IntentUtils { |
| 58 | 58 | ||
| 59 | return Objects.equals(intent1.selector(), intent2.selector()) && | 59 | return Objects.equals(intent1.selector(), intent2.selector()) && |
| 60 | Objects.equals(intent1.treatment(), intent2.treatment()) && | 60 | Objects.equals(intent1.treatment(), intent2.treatment()) && |
| 61 | + Objects.equals(intent1.constraints(), intent2.constraints()) && | ||
| 61 | Objects.equals(intent1.ingressPoint(), intent2.ingressPoint()) && | 62 | Objects.equals(intent1.ingressPoint(), intent2.ingressPoint()) && |
| 62 | Objects.equals(intent1.egressPoints(), intent2.egressPoints()); | 63 | Objects.equals(intent1.egressPoints(), intent2.egressPoints()); |
| 63 | } else if (one instanceof MultiPointToSinglePointIntent) { | 64 | } else if (one instanceof MultiPointToSinglePointIntent) { |
| ... | @@ -66,6 +67,7 @@ public final class IntentUtils { | ... | @@ -66,6 +67,7 @@ public final class IntentUtils { |
| 66 | 67 | ||
| 67 | return Objects.equals(intent1.selector(), intent2.selector()) && | 68 | return Objects.equals(intent1.selector(), intent2.selector()) && |
| 68 | Objects.equals(intent1.treatment(), intent2.treatment()) && | 69 | Objects.equals(intent1.treatment(), intent2.treatment()) && |
| 70 | + Objects.equals(intent1.constraints(), intent2.constraints()) && | ||
| 69 | Objects.equals(intent1.ingressPoints(), intent2.ingressPoints()) && | 71 | Objects.equals(intent1.ingressPoints(), intent2.ingressPoints()) && |
| 70 | Objects.equals(intent1.egressPoint(), intent2.egressPoint()); | 72 | Objects.equals(intent1.egressPoint(), intent2.egressPoint()); |
| 71 | } else if (one instanceof PointToPointIntent) { | 73 | } else if (one instanceof PointToPointIntent) { |
| ... | @@ -74,6 +76,7 @@ public final class IntentUtils { | ... | @@ -74,6 +76,7 @@ public final class IntentUtils { |
| 74 | 76 | ||
| 75 | return Objects.equals(intent1.selector(), intent2.selector()) && | 77 | return Objects.equals(intent1.selector(), intent2.selector()) && |
| 76 | Objects.equals(intent1.treatment(), intent2.treatment()) && | 78 | Objects.equals(intent1.treatment(), intent2.treatment()) && |
| 79 | + Objects.equals(intent1.constraints(), intent2.constraints()) && | ||
| 77 | Objects.equals(intent1.ingressPoint(), intent2.ingressPoint()) && | 80 | Objects.equals(intent1.ingressPoint(), intent2.ingressPoint()) && |
| 78 | Objects.equals(intent1.egressPoint(), intent2.egressPoint()); | 81 | Objects.equals(intent1.egressPoint(), intent2.egressPoint()); |
| 79 | } else { | 82 | } else { | ... | ... |
-
Please register or login to post a comment