class CoverageAxisGenerator implements AxisGenerator {

    @Override
    public Stream<AxisPointDTO> getPoints(long projectId) {
        return Arrays.stream(CoverageLevel.values())
                .map(coverageLevel -> new AxisPointDTO(coverageLevel.name(), coverageLevel.getLabel(), coverageLevel.getTooltip()));
    }

}