public class DefaultCapabilityMatcher extends Object implements CapabilityMatcher
The default capability matcher will look at all the key from the request do not start with _ and will try to find a node that has at least those capabilities.
Modifier and Type | Field and Description |
---|---|
protected List<String> |
toConsider |
Constructor and Description |
---|
DefaultCapabilityMatcher() |
Modifier and Type | Method and Description |
---|---|
void |
addToConsider(String capabilityName) |
boolean |
matches(Map<String,Object> nodeCapability,
Map<String,Object> requestedCapability) |
public void addToConsider(String capabilityName)
capabilityName
- capability name to have grid match requested with test slotCopyright © 2016. All rights reserved.