net.nemerosa.ontrack.model.structure.PromotionLevelSelection 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 net.nemerosa.ontrack.model.support.Selectable;
import java.util.Objects;
@Data
public class PromotionLevelSelection implements Selectable {
private final PromotionLevel promotionLevel;
private final boolean selected;
@Override
public String getId() {
return Objects.toString(promotionLevel.id());
}
@Override
public String getName() {
return promotionLevel.getName();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy