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

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

There is a newer version: 5.27.9
Show newest version
package org.openl.rules.rest.compile;

public class ModuleTestsInfo {

    private final int count;
    private final boolean compiled;
    private final TableRunState tableRunState;

    public ModuleTestsInfo(Builder from) {
        this.count = from.count;
        this.compiled = from.compiled;
        this.tableRunState = from.tableRunState;
    }

    public int getCount() {
        return count;
    }

    public boolean isCompiled() {
        return compiled;
    }

    public TableRunState getTableRunState() {
        return tableRunState;
    }

    public static Builder builder() {
        return new Builder();
    }

    public static class Builder {

        private int count;
        private boolean compiled;
        private TableRunState tableRunState;

        private Builder() {
        }

        public Builder count(int count) {
            this.count = count;
            return this;
        }

        public Builder compiled(boolean compiled) {
            this.compiled = compiled;
            return this;
        }

        public Builder tableRunState(TableRunState tableRunState) {
            this.tableRunState = tableRunState;
            return this;
        }

        public ModuleTestsInfo build() {
            return new ModuleTestsInfo(this);
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy