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

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

There is a newer version: 4.4.5
Show newest version
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