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

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

There is a newer version: 2.57
Show newest version
package com.applitools.eyes;

/**
 * A container for the results of the initial match search of a response time
 * test.
 */
class ResponseTimeInitialMatchSearchResult {
    private final MatchWindowDataWithScreenshot theMatch;
    private final MatchWindowDataWithScreenshot lastNonMatch;

    /**
     *
     * @param theMatch The match data for which there was a match in the
     *                 initial match search phase, or {@code null} if there
     *                 was no match.
     * @param lastNonMatch The last match data for which there was no match,
     *                     or {@code null} if there was no failed match.
     */
    public ResponseTimeInitialMatchSearchResult(
            MatchWindowDataWithScreenshot theMatch,
            MatchWindowDataWithScreenshot lastNonMatch) {
        this.theMatch = theMatch;
        this.lastNonMatch = lastNonMatch;
    }

    /**
     *
     * @return The match data for which there was a match in the initial
     * match search phase, or {@code null} if there was no match.
     */
    public MatchWindowDataWithScreenshot getTheMatch() {
        return theMatch;
    }

    /**
     *
     * @return The last match data for which there was no match, or {@code
     * null} if there was no failed match.
     */
    public MatchWindowDataWithScreenshot getLastNonMatch() {
        return lastNonMatch;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy