com.capitalone.dashboard.model.CodeReposBuilds 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.bson.types.ObjectId;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;
import java.util.HashSet;
import java.util.Locale;
import java.util.Set;
@Document(collection = "code_repos_builds")
public class CodeReposBuilds extends BaseModel {
@Indexed(unique = true)
private String codeRepo;
private Set buildCollectorItems = new HashSet<>();
@Indexed
private long timestamp;
public String getCodeRepo() {
return codeRepo.toLowerCase(Locale.US);
}
public void setCodeRepo(String codeRepo) {
this.codeRepo = codeRepo.toLowerCase(Locale.US);
}
public Set getBuildCollectorItems() {
return buildCollectorItems;
}
public void setBuildCollectorItems(Set buildCollectorItems) {
this.buildCollectorItems = buildCollectorItems;
}
public long getTimestamp() {
return timestamp;
}
public void setTimestamp(long timestamp) {
this.timestamp = timestamp;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy