
com.capitalone.dashboard.model.SonarCollector Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sonar-codequality-collector Show documentation
Show all versions of sonar-codequality-collector Show documentation
CodeQuality Collector Microservices currently collects data from Sonar
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