
com.capitalone.dashboard.util.SonarDashboardUrl 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
The newest version!
package com.capitalone.dashboard.util;
public class SonarDashboardUrl {
private static final String SLASH = "/";
private static final String PATH = "dashboard/index/";
private String projectUrl;
private String instanceId;
public SonarDashboardUrl(String projectUrl, String instanceId) {
this.projectUrl = projectUrl;
this.instanceId = instanceId;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder(projectUrl);
if(!projectUrl.endsWith(SLASH)) {
sb.append(SLASH);
}
sb.append(PATH)
.append(instanceId);
return sb.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy