com.capitalone.dashboard.collector.RelatedItemSettings Maven / Gradle / Ivy
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 RelatedItems Collector.
*/
@Component
@ConfigurationProperties(prefix = "relatedItem")
public class RelatedItemSettings {
private String cron;
private List subscribers;
private String clientId;
private String clientSecret;
private long offSet;
private String subscriberName;
private String tokenUrl;
private String accept;
private List exclusions;
public String getCron() {
return cron;
}
public void setCron(String cron) {
this.cron = cron;
}
public List getSubscribers() {
return subscribers;
}
public void setSubscribers(List subscribers) {
this.subscribers = subscribers;
}
public String getClientId() {
return clientId;
}
public void setClientId(String clientId) {
this.clientId = clientId;
}
public String getClientSecret() {
return clientSecret;
}
public void setClientSecret(String clientSecret) {
this.clientSecret = clientSecret;
}
public long getOffSet() {
return offSet;
}
public void setOffSet(long offSet) {
this.offSet = offSet;
}
public String getSubscriberName() {
return subscriberName;
}
public void setSubscriberName(String subscriberName) {
this.subscriberName = subscriberName;
}
public String getTokenUrl() {
return tokenUrl;
}
public void setTokenUrl(String tokenUrl) {
this.tokenUrl = tokenUrl;
}
public String getAccept() {
return accept;
}
public void setAccept(String accept) {
this.accept = accept;
}
public List getExclusions() {
return exclusions;
}
public void setExclusions(List exclusions) {
this.exclusions = exclusions;
}
}