org.openqa.grid.internal.utils
Class DefaultCapabilityMatcher
java.lang.Object
org.openqa.grid.internal.utils.DefaultCapabilityMatcher
- All Implemented Interfaces:
- CapabilityMatcher
public class DefaultCapabilityMatcher
- extends Object
- implements CapabilityMatcher
Default (naive) implementation of the capability matcher.
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultCapabilityMatcher
public DefaultCapabilityMatcher()
matches
public boolean matches(Map<String,Object> nodeCapability,
Map<String,Object> requestedCapability)
- Specified by:
matches
in interface CapabilityMatcher
Copyright © 2012. All Rights Reserved.