public static final class PlacementConstraintParser.SourceTags
extends java.lang.Object
| Modifier and Type | Method | Description |
|---|---|---|
static PlacementConstraintParser.SourceTags |
emptySourceTags() |
|
int |
getNumOfAllocations() |
|
java.lang.String |
getTag() |
|
boolean |
isEmpty() |
|
static PlacementConstraintParser.SourceTags |
parseFrom(java.lang.String expr) |
Parses source tags from expression "sourceTags(numOfAllocations)".
|
public static PlacementConstraintParser.SourceTags emptySourceTags()
public boolean isEmpty()
public java.lang.String getTag()
public int getNumOfAllocations()
public static PlacementConstraintParser.SourceTags parseFrom(java.lang.String expr) throws PlacementConstraintParseException
expr - expression string.PlacementConstraintParser.SourceTagsPlacementConstraintParseException - when the placement constraint parser
fails to parse an expression.Copyright © 2008–2025 Apache Software Foundation. All rights reserved.