public class AndTypeQualifier extends java.lang.Object implements TypeQualifier
| Constructor and Description |
|---|
AndTypeQualifier()
Creates a new AndTypeQualifier with no initial root qualifiers
|
| Modifier and Type | Method and Description |
|---|---|
AndTypeQualifier |
and(java.lang.String kind)
Add a "kind" qualifier to the set of root qualifiers.
|
AndTypeQualifier |
and(TypeQualifier... qualifiers)
And the specified qualifiers with this one.
|
AndTypeQualifier |
and(TypeQualifier qualifier)
Add a qualifier to the set of root qualifiers.
|
AndTypeQualifier |
andStatus(boolean nodeStatus)
And this qualifier with the specified node status qualification.
|
boolean |
match(AcceleratorNode node)
Determine if the specified node is a match based on this qualifier's criteria.
|
static AndTypeQualifier |
qualifierWithQualifiers(TypeQualifier... qualifiers)
Get a qualifier that matches for each of the specified qualifiers.
|
static AndTypeQualifier |
qualifierWithStatusAndType(boolean nodeStatus,
java.lang.String type)
Get an qualifier for the specified node status and type.
|
public AndTypeQualifier()
public AndTypeQualifier and(java.lang.String kind)
kind - The node type of the new root qualifierpublic AndTypeQualifier and(TypeQualifier qualifier)
qualifier - A qualifier to "and" with the existing root qualifiers.public AndTypeQualifier and(TypeQualifier... qualifiers)
qualifiers - the array of node qualifierspublic static AndTypeQualifier qualifierWithQualifiers(TypeQualifier... qualifiers)
qualifiers - the array of node qualifierspublic AndTypeQualifier andStatus(boolean nodeStatus)
nodeStatus - the status of nodes for which we wish to filterpublic static AndTypeQualifier qualifierWithStatusAndType(boolean nodeStatus, java.lang.String type)
nodeStatus - the node statustype - the node typepublic boolean match(AcceleratorNode node)
match in interface TypeQualifiernode - The node to test