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

io.hyperfoil.tools.horreum.mapper.RunExpectationMapper Maven / Gradle / Ivy

There is a newer version: 0.16.3
Show newest version
package io.hyperfoil.tools.horreum.mapper;

import io.hyperfoil.tools.horreum.api.alerting.RunExpectation;
import io.hyperfoil.tools.horreum.entity.alerting.RunExpectationDAO;

public class RunExpectationMapper {

    public static RunExpectation from(RunExpectationDAO re) {
        RunExpectation dto = new RunExpectation();
        dto.id = re.id;
        dto.testId = re.testId;
        dto.expectedBy = re.expectedBy;
        dto.expectedBefore = re.expectedBefore;
        dto.backlink = re.backlink;

        return dto;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy