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

com.applitools.eyes.MatchWindowDataWithScreenshot Maven / Gradle / Ivy

The newest version!
package com.applitools.eyes;

import com.applitools.eyes.fluent.ICheckSettingsInternal;

/**
 * A container for a MatchWindowData along with the screenshot used for
 * creating it. (We specifically avoid inheritance so we don't have to deal
 * with serialization issues).
 */
public class MatchWindowDataWithScreenshot {
    private final MatchWindowData matchWindowData;
    private final EyesScreenshot screenshot;

    public MatchWindowDataWithScreenshot(MatchWindowData matchWindowData,
                                         EyesScreenshot screenshot) {
        this.matchWindowData = matchWindowData;
        this.screenshot = screenshot;
    }

    public MatchWindowData getMatchWindowData() {
        return matchWindowData;
    }

    public EyesScreenshot getScreenshot(ICheckSettingsInternal checkSettingsInternal) {
        return screenshot;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy