matchData.getAppOutput().getScreenshot64());
matchData.getAppOutput().getScreenshot64());
matchData.getAppOutput().getScreenshot64());
matchData.getAppOutput().getScreenshot64());
matchData.getAppOutput().getScreenshot64());
theMatchIndex); TimedAppOutput tao = (TimedAppOutput) theMatch.getMatchWindowData().getAppOutput(); long matchElapsed = tao.getElapsed(); long deadlineMs = deadline * 1000; currentMwdws.getMatchWindowData().getAppOutput();
theMatchIndex); TimedAppOutput tao = (TimedAppOutput) theMatch.getMatchWindowData().getAppOutput(); long matchElapsed = tao.getElapsed(); long deadlineMs = deadline * 1000; currentMwdws.getMatchWindowData().getAppOutput();
theMatchIndex); TimedAppOutput tao = (TimedAppOutput) theMatch.getMatchWindowData().getAppOutput(); long matchElapsed = tao.getElapsed(); long deadlineMs = deadline * 1000; currentMwdws.getMatchWindowData().getAppOutput();
if (result != null) { TimedAppOutput tao = (TimedAppOutput) result.getMatchWindowData().getAppOutput(); long resultElapsed = tao.getElapsed(); long deadlineMs = deadline * 1000;
currentMwd = currentMwdws.getMatchWindowData(); currentOptions = currentMwd.getOptions(); long currentElapsed = ((TimedAppOutput) currentMwd.getAppOutput()) .getElapsed(); long nextElapsed = ((TimedAppOutput) collectedData.get(i+1).getMatchWindowData().getAppOutput()) .getElapsed(); if (currentElapsed == nextElapsed) { , i)); if (((TimedAppOutput) currentMwd.getAppOutput()).getIsPrimary()){ logger.verbose("Skipped image is primary.."); logger.verbose("Moving primary to the next image.."); currentMwd.getAppOutput(), currentMwd.getTag(), false, mwdToSend = new MatchWindowData( currentMwd.getUserInputs(), currentMwd.getAppOutput(), currentMwd.getTag(), false,
currentMwd = currentMwdws.getMatchWindowData(); currentOptions = currentMwd.getOptions(); long currentElapsed = ((TimedAppOutput) currentMwd.getAppOutput()) .getElapsed(); long nextElapsed = ((TimedAppOutput) collectedData.get(i+1).getMatchWindowData().getAppOutput()) .getElapsed(); if (currentElapsed == nextElapsed) { , i)); if (((TimedAppOutput) currentMwd.getAppOutput()).getIsPrimary()){ logger.verbose("Skipped image is primary.."); logger.verbose("Moving primary to the next image.."); currentMwd.getAppOutput(), currentMwd.getTag(), false, mwdToSend = new MatchWindowData( currentMwd.getUserInputs(), currentMwd.getAppOutput(), currentMwd.getTag(), false,
currentMwd = currentMwdws.getMatchWindowData(); currentOptions = currentMwd.getOptions(); long currentElapsed = ((TimedAppOutput) currentMwd.getAppOutput()) .getElapsed(); long nextElapsed = ((TimedAppOutput) collectedData.get(i+1).getMatchWindowData().getAppOutput()) .getElapsed(); if (currentElapsed == nextElapsed) { , i)); if (((TimedAppOutput) currentMwd.getAppOutput()).getIsPrimary()){ logger.verbose("Skipped image is primary.."); logger.verbose("Moving primary to the next image.."); currentMwd.getAppOutput(), currentMwd.getTag(), false, mwdToSend = new MatchWindowData( currentMwd.getUserInputs(), currentMwd.getAppOutput(), currentMwd.getTag(), false,
/** * Clones the given {@link MatchWindowDataWithScreenshot} instance, while * setting the primary to the required value. * @param currentMwdws The instance to clone. * @param updatePrimary The primary value to set. * @return A new instance with the updated primary value. */ private static MatchWindowDataWithScreenshot cloneTimedMWDWSWithPrimary( MatchWindowDataWithScreenshot currentMwdws, boolean updatePrimary) { MatchWindowData currentMwd = currentMwdws.getMatchWindowData(); TimedAppOutput currentAppOutput = (TimedAppOutput) currentMwdws.getMatchWindowData().getAppOutput(); TimedAppOutput updatedAppOutput = new TimedAppOutput( currentAppOutput.getTitle(), currentAppOutput.getScreenshot64(), currentAppOutput.getElapsed(), updatePrimary); MatchWindowData updatedMwd = new MatchWindowData( currentMwd.getUserInputs(), updatedAppOutput, currentMwd.getTag(), currentMwd.getIgnoreMismatch(), currentMwd.getOptions()); return new MatchWindowDataWithScreenshot(updatedMwd, currentMwdws.getScreenshot()); }
/** * Clones the given {@link MatchWindowDataWithScreenshot} instance, while * setting the primary to the required value. * @param currentMwdws The instance to clone. * @param updatePrimary The primary value to set. * @return A new instance with the updated primary value. */ private static MatchWindowDataWithScreenshot cloneTimedMWDWSWithPrimary( MatchWindowDataWithScreenshot currentMwdws, boolean updatePrimary) { MatchWindowData currentMwd = currentMwdws.getMatchWindowData(); TimedAppOutput currentAppOutput = (TimedAppOutput) currentMwdws.getMatchWindowData().getAppOutput(); TimedAppOutput updatedAppOutput = new TimedAppOutput( currentAppOutput.getTitle(), currentAppOutput.getScreenshot64(), currentAppOutput.getElapsed(), updatePrimary); MatchWindowData updatedMwd = new MatchWindowData( currentMwd.getUserInputs(), updatedAppOutput, currentMwd.getTag(), currentMwd.getIgnoreMismatch(), currentMwd.getOptions()); return new MatchWindowDataWithScreenshot(updatedMwd, currentMwdws.getScreenshot()); }
/** * Clones the given {@link MatchWindowDataWithScreenshot} instance, while * setting the primary to the required value. * @param currentMwdws The instance to clone. * @param updatePrimary The primary value to set. * @return A new instance with the updated primary value. */ private static MatchWindowDataWithScreenshot cloneTimedMWDWSWithPrimary( MatchWindowDataWithScreenshot currentMwdws, boolean updatePrimary) { MatchWindowData currentMwd = currentMwdws.getMatchWindowData(); TimedAppOutput currentAppOutput = (TimedAppOutput) currentMwdws.getMatchWindowData().getAppOutput(); TimedAppOutput updatedAppOutput = new TimedAppOutput( currentAppOutput.getTitle(), currentAppOutput.getScreenshot64(), currentAppOutput.getElapsed(), updatePrimary); MatchWindowData updatedMwd = new MatchWindowData( currentMwd.getUserInputs(), updatedAppOutput, currentMwd.getTag(), currentMwd.getIgnoreMismatch(), currentMwd.getOptions()); return new MatchWindowDataWithScreenshot(updatedMwd, currentMwdws.getScreenshot()); }