net.nemerosa.ontrack.model.structure.ProjectCloneRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ontrack-model Show documentation
Show all versions of ontrack-model Show documentation
Ontrack module: ontrack-model
package net.nemerosa.ontrack.model.structure;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.beans.ConstructorProperties;
import java.util.List;
/**
* Request for the clone of a project into another one.
*/
@EqualsAndHashCode(callSuper = false)
@Data
public class ProjectCloneRequest extends AbstractCopyRequest {
/**
* Target project name
*/
private final String name;
/**
* Source branch
*/
private final ID sourceBranchId;
@ConstructorProperties({"name", "sourceBranchId", "replacements"})
public ProjectCloneRequest(String name, ID sourceBranchId, List replacements) {
super(replacements);
this.name = name;
this.sourceBranchId = sourceBranchId;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy