PlacementConstraint.Visitablepublic static class PlacementConstraint.TargetExpression extends java.lang.Object implements PlacementConstraint.Visitable
| Modifier and Type | Class | Description |
|---|---|---|
static class |
PlacementConstraint.TargetExpression.TargetType |
Enum specifying the type of the target expression.
|
| Constructor | Description |
|---|---|
TargetExpression(PlacementConstraint.TargetExpression.TargetType targetType) |
|
TargetExpression(PlacementConstraint.TargetExpression.TargetType targetType,
java.lang.String targetKey,
java.lang.String... targetValues) |
|
TargetExpression(PlacementConstraint.TargetExpression.TargetType targetType,
java.lang.String targetKey,
java.util.Set<java.lang.String> targetValues) |
| Modifier and Type | Method | Description |
|---|---|---|
<T> T |
accept(PlacementConstraint.Visitor<T> visitor) |
Visitor pattern.
|
boolean |
equals(java.lang.Object o) |
|
java.lang.String |
getTargetKey() |
Get the key of the target expression.
|
PlacementConstraint.TargetExpression.TargetType |
getTargetType() |
Get the type of the target expression.
|
java.util.Set<java.lang.String> |
getTargetValues() |
Get the set of values of the target expression.
|
int |
hashCode() |
|
java.lang.String |
toString() |
public TargetExpression(PlacementConstraint.TargetExpression.TargetType targetType, java.lang.String targetKey, java.util.Set<java.lang.String> targetValues)
public TargetExpression(PlacementConstraint.TargetExpression.TargetType targetType)
public TargetExpression(PlacementConstraint.TargetExpression.TargetType targetType, java.lang.String targetKey, java.lang.String... targetValues)
public PlacementConstraint.TargetExpression.TargetType getTargetType()
public java.lang.String getTargetKey()
public java.util.Set<java.lang.String> getTargetValues()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic <T> T accept(PlacementConstraint.Visitor<T> visitor)
PlacementConstraint.Visitableaccept in interface PlacementConstraint.VisitableT - defines the type that the visitor will use and the return type
of the accept.visitor - visitor to be usedCopyright © 2008–2025 Apache Software Foundation. All rights reserved.