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

info.novatec.testit.webtester.waiting.WaitAction Maven / Gradle / Ivy

package info.novatec.testit.webtester.waiting;

/**
 * Action interface (SAM) based on the {@link Runnable} interface.
 * It is not intended to be directly implemented but instead used to run a lambda provieded method.
 *
 * Example usage:
 * 
 * public void preparingMethod() {
 *     executingMethod(() -> doSomething());
 * }
 *
 * public void executingMethod(UIAction action) {
 *     action.perform();
 * }
 * 
* * @see WaitingAction * @see Waiter * @since 2.8 */ @FunctionalInterface public interface WaitAction { /** * SAM for execution. * * @since 2.8 */ void perform(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy