net.thucydides.core.scheduling.PollingSchedule Maven / Gradle / Ivy
package net.thucydides.core.scheduling;
import java.util.concurrent.TimeUnit;
public class PollingSchedule extends TimeSchedule {
public PollingSchedule(ThucydidesFluentWait fluentWait, int amount) {
super(fluentWait, amount);
}
@Override
protected ThucydidesFluentWait updateWaitBy(int amount, TimeUnit unit) {
return fluentWait.pollingEvery(amount, unit);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy