public 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 and Description |
|---|
DelayedOr(List<PlacementConstraint.TimedPlacementConstraint> children) |
DelayedOr(PlacementConstraint.TimedPlacementConstraint... children) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
accept(PlacementConstraint.Visitor<T> visitor)
Visitor pattern.
|
List<PlacementConstraint.TimedPlacementConstraint> |
getChildren()
Get the children of this composite constraint.
|
String |
toString() |
equals, hashCodebuildpublic DelayedOr(List<PlacementConstraint.TimedPlacementConstraint> children)
public DelayedOr(PlacementConstraint.TimedPlacementConstraint... children)
public 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 String toString()
toString in class PlacementConstraint.AbstractConstraintCopyright © 2008–2022 Apache Software Foundation. All rights reserved.