io.magentys.cinnamon.webdriver.conditions.Condition Maven / Gradle / Ivy
package io.magentys.cinnamon.webdriver.conditions;
import com.google.common.base.Predicate;
public abstract class Condition implements Predicate {
@Override
public abstract boolean apply(T t);
public AndCondition and(final Condition condition) {
return new AndCondition<>(this, condition);
}
public OrCondition or(final Condition condition) {
return new OrCondition<>(this, condition);
}
}