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

netflix.nebula.dependency.recommender.provider.AbstractRecommendationProvider Maven / Gradle / Ivy

Go to download

Allows projects to leave off version numbers in dependencies section and have versions recommended by other sources

The newest version!
package netflix.nebula.dependency.recommender.provider;

public abstract class AbstractRecommendationProvider implements RecommendationProvider {
    protected String name;

    static int providersWithoutNames = 0;

    @Override
    public String getName() {
        return name == null ? "recommender-" + (++providersWithoutNames) : name;
    }

    @Override
    public void setName(String name) { this.name = name; }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy