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

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

Go to download

Tessera is a stateless Java system that is used to enable the encryption, decryption, and distribution of private transactions for Quorum.

There is a newer version: 24.4.2
Show newest version
package com.quorum.tessera.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