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

net.nemerosa.ontrack.model.structure.BranchCopyRequest 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.EqualsAndHashCode;

import java.beans.ConstructorProperties;
import java.util.List;

/**
 * Request for the copy of a branch configuration into another one.
 */
@EqualsAndHashCode(callSuper = false)
@Data
public class BranchCopyRequest extends AbstractCopyRequest {

    /**
     * Source branch
     */
    private final ID sourceBranchId;

    @ConstructorProperties({"sourceBranchId", "replacements"})
    public BranchCopyRequest(ID sourceBranchId, List replacements) {
        super(replacements);
        this.sourceBranchId = sourceBranchId;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy