com.capitalone.dashboard.model.PipelineResponseCommit Maven / Gradle / Ivy
package com.capitalone.dashboard.model;
import java.util.HashMap;
import java.util.Map;
public class PipelineResponseCommit extends SCM {
public PipelineResponseCommit(SCM scm) {
super(scm);
}
Map processedTimestamps = new HashMap<>();
public void addNewPipelineProcessedTimestamp(PipelineStage stage, Long timestamp) {
addNewPipelineProcessedTimestamp(stage.getName(), timestamp);
}
public void addNewPipelineProcessedTimestamp(String stageName, Long timestamp) {
getProcessedTimestamps().put(stageName, timestamp);
}
public Map getProcessedTimestamps() {
return processedTimestamps;
}
public void setProcessedTimestamps(Map processedTimestamps) {
this.processedTimestamps = processedTimestamps;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy