package com.capitalone.dashboard.collector; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.stereotype.Component; import java.util.List; /** * Bean to hold settings specific to the Sonar collector. */ @Component @ConfigurationProperties(prefix = "sonar") public class SonarSettings { private String cron; private String metrics; private List<String> servers; public String getCron() { return cron; } public void setCron(String cron) { this.cron = cron; } public String getMetrics() { return metrics; } public void setMetrics(String metrics) { this.metrics = metrics; } public List<String> getServers() { return servers; } public void setServers(List<String> servers) { this.servers = servers; } }