net.nemerosa.ontrack.model.structure.BranchTemplateInstanceSingleRequest 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 javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import java.util.Map;
/**
* Request to create a template instance for one name only.
*/
@Data
public class BranchTemplateInstanceSingleRequest {
/**
* Name of the instance to create
*/
@NotNull(message = "The name is required.")
@Pattern(regexp = NameDescription.NAME, message = "The name " + NameDescription.NAME_MESSAGE_SUFFIX)
private final String name;
/**
* Manual expressions
*/
private final boolean manual;
/**
* List of parameters
*/
private final Map parameters;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy