
com.capitalone.dashboard.model.Collector Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of core Show documentation
Show all versions of core Show documentation
Core package shared by API layer and Microservices
package com.capitalone.dashboard.model;
import org.springframework.data.mongodb.core.mapping.Document;
/**
* The collectors that have been registered in the given Dashboard app instance.
*/
@Document(collection="collectors")
public class Collector extends BaseModel {
private String name;
private CollectorType collectorType;
private boolean enabled;
private boolean online;
private long lastExecuted;
public Collector() {
}
public Collector(String name, CollectorType collectorType) {
this.name = name;
this.collectorType = collectorType;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public CollectorType getCollectorType() {
return collectorType;
}
public void setCollectorType(CollectorType collectorType) {
this.collectorType = collectorType;
}
public boolean isEnabled() {
return enabled;
}
public void setEnabled(boolean enabled) {
this.enabled = enabled;
}
public boolean isOnline() {
return online;
}
public void setOnline(boolean online) {
this.online = online;
}
public long getLastExecuted() {
return lastExecuted;
}
public void setLastExecuted(long lastExecuted) {
this.lastExecuted = lastExecuted;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy