public Collection < ApplicableToProduct > getNonApplicableResourcesForName ( String resourceName ) { List < ApplicableToProduct > result = nameToNonApplicableResources . get ( resourceName ) ; if ( result == null ) { // We don't expect this to happen, if we're looking for non-applicable resources, it's because we failed to resolve it earlier cacheFeaturesForName ( resourceName ) ; result = nameToNonApplicableResources . get ( resourceName ) ; } if ( result == null ) { // Still null, very odd return Collections . emptySet ( ) ; } return Collections . unmodifiableList ( result ) ; }
Return all features and samples in the repository with the given name which don t apply to the installed products