edu.uci.qa.performancedriver.component.ConditionalComponent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of performancedriver Show documentation
Show all versions of performancedriver Show documentation
A performance measuring API with high performance and portability
The newest version!
package edu.uci.qa.performancedriver.component;
import edu.uci.qa.performancedriver.result.Result;
@FunctionalInterface
public interface ConditionalComponent extends Component {
public boolean run();
default Result run(Result result) {
result.passed(run());
return result;
}
}