All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.spotify.autoscaler.api.ClusterResources_Factory Maven / Gradle / Ivy

package com.spotify.autoscaler.api;

import com.fasterxml.jackson.databind.ObjectMapper;
import com.spotify.autoscaler.db.Database;
import dagger.internal.Factory;
import javax.annotation.Generated;
import javax.inject.Provider;

@Generated(
    value = "dagger.internal.codegen.ComponentProcessor",
    comments = "https://dagger.dev"
)
@SuppressWarnings({
    "unchecked",
    "rawtypes"
})
public final class ClusterResources_Factory implements Factory {
  private final Provider databaseProvider;

  private final Provider mapperProvider;

  public ClusterResources_Factory(Provider databaseProvider,
      Provider mapperProvider) {
    this.databaseProvider = databaseProvider;
    this.mapperProvider = mapperProvider;
  }

  @Override
  public ClusterResources get() {
    return new ClusterResources(databaseProvider.get(), mapperProvider.get());
  }

  public static ClusterResources_Factory create(Provider databaseProvider,
      Provider mapperProvider) {
    return new ClusterResources_Factory(databaseProvider, mapperProvider);
  }

  public static ClusterResources newInstance(Database database, ObjectMapper mapper) {
    return new ClusterResources(database, mapper);
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy