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

net.serenitybdd.screenplay.conditions.ConditionalPerformableOnBoolean Maven / Gradle / Ivy

There is a newer version: 4.2.9
Show newest version
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 - 2024 Weber Informatics LLC | Privacy Policy