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

net.nemerosa.ontrack.model.form.ServiceConfigurator Maven / Gradle / Ivy

There is a newer version: 4.4.5
Show newest version
package net.nemerosa.ontrack.model.form;

import lombok.Data;
import lombok.EqualsAndHashCode;
import net.nemerosa.ontrack.model.structure.ServiceConfigurationSource;

import java.util.ArrayList;
import java.util.List;

@EqualsAndHashCode(callSuper = false)
@Data
public class ServiceConfigurator extends AbstractField {

    private List sources = new ArrayList<>();

    protected ServiceConfigurator(String name) {
        super("service-configurator", name);
    }

    public static ServiceConfigurator of(String name) {
        return new ServiceConfigurator(name);
    }

    public ServiceConfigurator sources(List sources) {
        this.sources = sources;
        return this;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy