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

net.nemerosa.ontrack.model.structure.BuildView Maven / Gradle / Ivy

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

import lombok.Data;
import lombok.experimental.Wither;

import java.util.Collections;
import java.util.List;

/**
 * Build, and its list of promotions runs, and its list of validation runs.
 */
@Data
public class BuildView implements View {

    public static BuildView of(Build build) {
        return new BuildView(build, Collections.emptyList(), Collections.emptyList(), Collections.emptyList());
    }

    /**
     * The build for this view
     */
    private final Build build;

    /**
     * Decorations for the build
     */
    @Wither
    private final List> decorations;

    /**
     * The list of its promotion runs
     */
    @Wither
    private final List promotionRuns;

    /**
     * The list of its validation runs, one for each validation stamp.
     */
    @Wither
    private final List validationStampRunViews;

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy