@Public
@Unstable
public class PlacementConstraint
extends java.lang.Object
PlacementConstraint represents a placement constraint for a resource
allocation.| Modifier and Type | Class | Description |
|---|---|---|
static class |
PlacementConstraint.AbstractConstraint |
Abstract class that acts as the superclass of all placement constraint
classes.
|
static class |
PlacementConstraint.And |
Class that represents a composite constraint that is a conjunction of other
constraints.
|
static class |
PlacementConstraint.CardinalityConstraint |
Class that represents a cardinality constraint.
|
static class |
PlacementConstraint.CompositeConstraint<R extends PlacementConstraint.Visitable> |
Class that represents composite constraints, which comprise other
constraints, forming a constraint tree.
|
static class |
PlacementConstraint.DelayedOr |
Class that represents a composite constraint that comprises a list of timed
placement constraints (see
PlacementConstraint.TimedPlacementConstraint). |
static class |
PlacementConstraint.Or |
Class that represents a composite constraint that is a disjunction of other
constraints.
|
static class |
PlacementConstraint.SingleConstraint |
Consider a set of nodes N that belongs to the scope specified in the
constraint.
|
static class |
PlacementConstraint.TargetConstraint |
Class that represents a target constraint.
|
static class |
PlacementConstraint.TargetExpression |
Class representing the target expressions that are used in placement
constraints.
|
static class |
PlacementConstraint.TimedPlacementConstraint |
Represents a timed placement constraint that has to be satisfied within a
time window.
|
static interface |
PlacementConstraint.Visitable |
Interface used to enable the elements of the constraint tree to be visited.
|
static interface |
PlacementConstraint.Visitor<T> |
Visitor API for a constraint tree.
|
| Constructor | Description |
|---|---|
PlacementConstraint(PlacementConstraint.AbstractConstraint constraintExpr) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(java.lang.Object o) |
|
PlacementConstraint.AbstractConstraint |
getConstraintExpr() |
Get the constraint expression of the placement constraint.
|
int |
hashCode() |
|
java.lang.String |
toString() |
public PlacementConstraint(PlacementConstraint.AbstractConstraint constraintExpr)
public java.lang.String toString()
toString in class java.lang.Objectpublic PlacementConstraint.AbstractConstraint getConstraintExpr()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.ObjectCopyright © 2008–2025 Apache Software Foundation. All rights reserved.