org.openl.rules.rest.compile.TableTestsInfo Maven / Gradle / Ivy
package org.openl.rules.rest.compile;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonInclude;
import org.openl.rules.webstudio.web.tableeditor.TableBean;
public class TableTestsInfo {
@JsonInclude(JsonInclude.Include.NON_NULL)
private final List allTests;
private final Boolean compiled;
public TableTestsInfo(Builder from) {
this.allTests = from.allTests;
this.compiled = from.compiled;
}
public List getAllTests() {
return allTests;
}
public boolean isCompiled() {
return compiled;
}
public static Builder builder() {
return new Builder();
}
public static class Builder {
private List allTests;
private Boolean compiled;
private Builder() {
}
public Builder allTests(List allTests) {
this.allTests = allTests;
return this;
}
public Builder compiled(Boolean compiled) {
this.compiled = compiled;
return this;
}
public TableTestsInfo build() {
return new TableTestsInfo(this);
}
}
}