com.capitalone.dashboard.model.SonarCollector Maven / Gradle / Ivy
package com.capitalone.dashboard.model;
import java.util.ArrayList;
import java.util.List;
public class SonarCollector extends Collector {
private List sonarServers = new ArrayList<>();
public List getSonarServers() {
return sonarServers;
}
public static SonarCollector prototype(List servers) {
SonarCollector protoType = new SonarCollector();
protoType.setName("Sonar");
protoType.setCollectorType(CollectorType.CodeQuality);
protoType.setOnline(true);
protoType.setEnabled(true);
protoType.getSonarServers().addAll(servers);
return protoType;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy