@InterfaceAudience.Public @InterfaceStability.Unstable public class PlacementConstraint extends Object
PlacementConstraint represents a placement constraint for a resource
 allocation.| Modifier and Type | Class and Description | 
|---|---|
| static class  | PlacementConstraint.AbstractConstraintAbstract class that acts as the superclass of all placement constraint
 classes. | 
| static class  | PlacementConstraint.AndClass that represents a composite constraint that is a conjunction of other
 constraints. | 
| static class  | PlacementConstraint.CardinalityConstraintClass 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.DelayedOrClass that represents a composite constraint that comprises a list of timed
 placement constraints (see  PlacementConstraint.TimedPlacementConstraint). | 
| static class  | PlacementConstraint.OrClass that represents a composite constraint that is a disjunction of other
 constraints. | 
| static class  | PlacementConstraint.SingleConstraintConsider a set of nodes N that belongs to the scope specified in the
 constraint. | 
| static class  | PlacementConstraint.TargetConstraintClass that represents a target constraint. | 
| static class  | PlacementConstraint.TargetExpressionClass representing the target expressions that are used in placement
 constraints. | 
| static class  | PlacementConstraint.TimedPlacementConstraintRepresents a timed placement constraint that has to be satisfied within a
 time window. | 
| static interface  | PlacementConstraint.VisitableInterface used to enable the elements of the constraint tree to be visited. | 
| static interface  | PlacementConstraint.Visitor<T>Visitor API for a constraint tree. | 
| Constructor and Description | 
|---|
| PlacementConstraint(PlacementConstraint.AbstractConstraint constraintExpr) | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object o) | 
| PlacementConstraint.AbstractConstraint | getConstraintExpr()Get the constraint expression of the placement constraint. | 
| int | hashCode() | 
| String | toString() | 
public PlacementConstraint(PlacementConstraint.AbstractConstraint constraintExpr)
public PlacementConstraint.AbstractConstraint getConstraintExpr()
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.