All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.capitalone.dashboard.model.JenkinsCucumberTestCollector Maven / Gradle / Ivy

There is a newer version: 2.0.4
Show newest version
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