PlacementConstraint.Visitablepublic static class PlacementConstraint.DelayedOr extends PlacementConstraint.CompositeConstraint<PlacementConstraint.TimedPlacementConstraint>
PlacementConstraint.TimedPlacementConstraint). The scheduler
should try to satisfy first the first timed child constraint within the
specified time window. If this is not possible, it should attempt to
satisfy the second, and so on.| Constructor | Description |
|---|---|
DelayedOr(java.util.List<PlacementConstraint.TimedPlacementConstraint> children) |
|
DelayedOr(PlacementConstraint.TimedPlacementConstraint... children) |
| Modifier and Type | Method | Description |
|---|---|---|
<T> T |
accept(PlacementConstraint.Visitor<T> visitor) |
Visitor pattern.
|
java.util.List<PlacementConstraint.TimedPlacementConstraint> |
getChildren() |
Get the children of this composite constraint.
|
java.lang.String |
toString() |
equals, hashCodebuildpublic DelayedOr(java.util.List<PlacementConstraint.TimedPlacementConstraint> children)
public DelayedOr(PlacementConstraint.TimedPlacementConstraint... children)
public java.util.List<PlacementConstraint.TimedPlacementConstraint> getChildren()
PlacementConstraint.CompositeConstraintgetChildren in class PlacementConstraint.CompositeConstraint<PlacementConstraint.TimedPlacementConstraint>public <T> T accept(PlacementConstraint.Visitor<T> visitor)
PlacementConstraint.VisitableT - defines the type that the visitor will use and the return type
of the accept.visitor - visitor to be usedpublic java.lang.String toString()
toString in class PlacementConstraint.AbstractConstraintCopyright © 2008–2025 Apache Software Foundation. All rights reserved.