com.applitools.eyes.TimedAppOutput Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of eyes-sdk-java-jersey2x Show documentation
Show all versions of eyes-sdk-java-jersey2x Show documentation
Applitools Eyes SDK base for Java
package com.applitools.eyes;
/**
* AppOutput with timing information.
*/
public class TimedAppOutput extends AppOutput {
private final long elapsed;
private final boolean isPrimary;
/**
* @param title The title of the window.
* @param screenshot64 Base64 encoding of the screenshot's bytes (the
* byte can be in either in compressed or
* @param elapsed The elapsed time from the first captured window
* until this window was captured.
* @param isPrimary Whether this window is considered a "primary"
* (e.g., if the user expected that up to this
* window there should already have been a match in
* a timing test).
*/
public TimedAppOutput(String title, String screenshot64, long elapsed,
boolean isPrimary) {
super(title, screenshot64);
this.elapsed = elapsed;
this.isPrimary = isPrimary;
}
@SuppressWarnings("unused")
public long getElapsed() {
return elapsed;
}
@SuppressWarnings("unused")
public boolean getIsPrimary() {
return isPrimary;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy