class PodResourcePoolResolverChain implements PodResourcePoolResolver {

    @Override
    public List<ResourcePoolAssignment> resolve(Job<?> job) {
        for (PodResourcePoolResolver delegate : delegates) {
            List<ResourcePoolAssignment> result = delegate.resolve(job);
            if (!result.isEmpty()) {
                return result;
            }
        }
        return Collections.emptyList();
    }

    public  PodResourcePoolResolverChain(List<PodResourcePoolResolver> delegates);

}