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

org.fluentlenium.core.proxy.LocatorStatusHandler Maven / Gradle / Ivy

package org.fluentlenium.core.proxy;

/**
 * Interface to control and retrieve the status of {@link LocatorHandler}s.
 */
public interface LocatorStatusHandler {

    /**
     * Check if this handler has loaded it's result.
     *
     * @return true if the result is loaded, false otherwise
     */
    boolean loaded();

    /**
     * Reset the loaded data.
     */
    void reset();

    /**
     * If result is not loaded, load result immediately. If it's already loaded, it has no effect.
     */
    void now();

    /**
     * Check if the result is present.
     *
     * @return true if result is present, false otherwise
     */
    boolean present();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy