private boolean matchAgainstMobileNodeType ( Map < String , Object > nodeCapability , String mobileNodeType ) { String nodeValue = ( String ) nodeCapability . get ( MOBILE_NODE_TYPE ) ; return ! StringUtils . isBlank ( nodeValue ) && nodeValue . equalsIgnoreCase ( mobileNodeType ) ; }
Matches requested mobileNodeType against node capabilities .