public interface RequirementMatcher
|Modifier and Type||Method and Description|
Attempts to match the given resource profile with one of the given requirements.
Optional<ResourceProfile> match(ResourceProfile resourceProfile, ResourceCounter totalRequirements, java.util.function.Function<ResourceProfile,Integer> numAssignedResourcesLookup)
resourceProfile- resource profile to match
totalRequirements- the total requirements
numAssignedResourcesLookup- a lookup for how many resources have already been assigned to a requirement
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.