
net.serenitybdd.screenplay.conditions.ConditionalPerformableOnBoolean Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of serenity-screenplay Show documentation
Show all versions of serenity-screenplay Show documentation
Support for the User Journey pattern in Serenity
package net.serenitybdd.screenplay.conditions;
import net.serenitybdd.screenplay.Actor;
public class ConditionalPerformableOnBoolean extends ConditionalPerformable {
private final Boolean condition;
public ConditionalPerformableOnBoolean(Boolean condition) {
super();
this.condition = condition;
}
@Override
protected Boolean evaluatedConditionFor(Actor actor) {
return condition;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy