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

org.openl.rules.rest.compile.TableTestsInfo Maven / Gradle / Ivy

There is a newer version: 5.27.9
Show newest version
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);
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy