com.capitalone.dashboard.collector.ArtifactorySettings Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of artifactory-artifact-collector Show documentation
Show all versions of artifactory-artifact-collector Show documentation
Artifact Collector microservice currently collects data from JFrog Artifactory
The newest version!
package com.capitalone.dashboard.collector;
import com.capitalone.dashboard.model.ArtifactoryCollectionMode;
import com.capitalone.dashboard.model.ServerSetting;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
import java.util.List;
/**
* Bean to hold settings specific to the Artifactory collector.
*/
@Component
@ConfigurationProperties(prefix = "artifactory")
public class ArtifactorySettings {
private String cron;
List servers;
ArtifactoryCollectionMode mode;
String endpoint;
long offSet;
String capturePattern;
long timeInterval;
String timeUnit;
boolean collectEnabledItemsOnly;
public String getCron() {
return cron;
}
public void setCron(String cron) {
this.cron = cron;
}
public List getServers() {
return servers;
}
public void setServers(List servers) {
this.servers = servers;
}
public ArtifactoryCollectionMode getMode() {
return mode;
}
public void setMode(ArtifactoryCollectionMode mode) {
this.mode = mode;
}
public String getEndpoint() {
return endpoint;
}
public void setEndpoint(String endpoint) {
this.endpoint = endpoint;
}
public long getOffSet() {
return offSet;
}
public void setOffSet(long offSet) {
this.offSet = offSet;
}
public String getCapturePattern() {
return capturePattern;
}
public void setCapturePattern(String capturePattern) {
this.capturePattern = capturePattern;
}
public long getTimeInterval() { return timeInterval; }
public void setTimeInterval(int timeInterval) { this.timeInterval = timeInterval; }
public String getTimeUnit() { return timeUnit; }
public void setTimeUnit(String timeUnit) { this.timeUnit = timeUnit; }
public boolean getCollectEnabledItemsOnly() { return collectEnabledItemsOnly; }
public void setCollectEnabledItemsOnly(boolean collectEnabledItemsOnly) { this.collectEnabledItemsOnly = collectEnabledItemsOnly; }
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy