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

com.quorum.tessera.config.cli.CliResult Maven / Gradle / Ivy

There is a newer version: 0.11.0.30092019161842
Show newest version
package com.quorum.tessera.config.cli;

import com.quorum.tessera.config.Config;

import java.util.Objects;
import java.util.Optional;

public class CliResult {
    
    private final Integer status;
    
    private final boolean suppressStartup;
    
    private final Config config;

    public CliResult(Integer status, boolean suppressStartup,Config config) {
        this.status = Objects.requireNonNull(status);
        this.suppressStartup = suppressStartup;
        this.config = config;
    }

    public Integer getStatus() {
        return status;
    }

    public boolean isSuppressStartup() {
        return suppressStartup;
    }


    public Optional getConfig() {
        return Optional.ofNullable(config);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy