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

net.thucydides.core.steps.ScenarioStepsStepDelayer Maven / Gradle / Ivy

There is a newer version: 4.2.8
Show newest version
package net.thucydides.core.steps;

import net.serenitybdd.model.time.SystemClock;

public class ScenarioStepsStepDelayer {

    private final SystemClock clock;
    private final T parent;

    public ScenarioStepsStepDelayer(SystemClock clock, T parent) {
        this.clock = clock;
        this.parent = parent;
    }

    public WaitForBuilder waitFor(int duration) {
        return new WaitForBuilder(duration, parent, clock);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy