
com.capitalone.dashboard.model.JenkinsCucumberTestCollector Maven / Gradle / Ivy
package com.capitalone.dashboard.model;
import java.util.ArrayList;
import java.util.List;
/**
* Extension of Collector that stores current build server configuration.
*/
public class JenkinsCucumberTestCollector extends Collector {
private List buildServers = new ArrayList<>();
public List getBuildServers() {
return buildServers;
}
public void setBuildServers(List buildServers) {
this.buildServers = buildServers;
}
public static JenkinsCucumberTestCollector prototype(List buildServers) {
JenkinsCucumberTestCollector protoType = new JenkinsCucumberTestCollector();
protoType.setName("JenkinsCucumberTest");
protoType.setCollectorType(CollectorType.Test);
protoType.setOnline(true);
protoType.setEnabled(true);
protoType.getBuildServers().addAll(buildServers);
return protoType;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy