com.capitalone.dashboard.collecteur.GitlabSettings Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gitlab-git-collector Show documentation
Show all versions of gitlab-git-collector Show documentation
Gitlab Collector Microservice collecting stats from Git
The newest version!
package com.capitalone.dashboard.collecteur;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
/**
* Created by benathmane on 23/06/16.
*/
/**
* Bean to hold settings specific to the Gitlab collector.
*/
@Component
@ConfigurationProperties(prefix = "gitlab")
public class GitlabSettings {
private String cron;
private String protocol;
private String host;
private String port;
private String apiToken;
private int firstRunHistoryDays;
private boolean selfSignedCertificate;
public String getCron() {
return cron;
}
public void setCron(String cron) {
this.cron = cron;
}
public String getProtocol() {
return protocol;
}
public void setProtocol(String protocol) {
this.protocol = protocol;
}
public String getApiToken() {
return apiToken;
}
public void setApiToken(String apiToken) {
this.apiToken = apiToken;
}
public String getHost() {
return host;
}
public void setHost(String host) {
this.host = host;
}
public String getPort() {
return port;
}
public void setPort(String port) {
this.port = port;
}
public int getFirstRunHistoryDays() {
return firstRunHistoryDays;
}
public void setFirstRunHistoryDays(int firstRunHistoryDays) {
this.firstRunHistoryDays = firstRunHistoryDays;
}
public boolean isSelfSignedCertificate() {
return selfSignedCertificate;
}
public void setSelfSignedCertificate(boolean selfSigned) {
this.selfSignedCertificate = selfSigned;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy