
com.capitalone.dashboard.model.Commit 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.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
/**
* A specific commit in a version control repository.
*
* Possible collectors:
* Subversion (in scope)
* Git (in scope)
* GitHub
* TFS
* BitBucket
* Unfuddle
*
*/
@Document(collection="commits")
public class Commit extends SCM {
@Id
private ObjectId id;
private ObjectId collectorItemId;
private long timestamp;
public ObjectId getId() {
return id;
}
void setId(ObjectId id) {
this.id = id;
}
public ObjectId getCollectorItemId() {
return collectorItemId;
}
public void setCollectorItemId(ObjectId collectorItemId) {
this.collectorItemId = collectorItemId;
}
public long getTimestamp() {
return timestamp;
}
public void setTimestamp(long timestamp) {
this.timestamp = timestamp;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy