com.applitools.eyes.MatchWindowDataWithScreenshot Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of eyes-sdk-core-java3 Show documentation
Show all versions of eyes-sdk-core-java3 Show documentation
Applitools Eyes SDK base for Java
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;
}
}