netflix.nebula.dependency.recommender.RecommendationStrategies Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nebula-dependency-recommender Show documentation
Show all versions of nebula-dependency-recommender Show documentation
Allows projects to leave off version numbers in dependencies section and have versions recommended by other sources
package netflix.nebula.dependency.recommender;
public enum RecommendationStrategies {
ConflictResolved(RecommendationsConflictResolvedStrategy.class),
OverrideTransitives(RecommendationsOverrideTransitivesStrategy.class);
private Class extends RecommendationStrategy> strategyClass;
RecommendationStrategies(Class extends RecommendationStrategy> strategyClass) {
this.strategyClass = strategyClass;
}
public Class extends RecommendationStrategy> getStrategyClass() {
return strategyClass;
}
}