com.quorum.tessera.cli.CliResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cli-api Show documentation
Show all versions of cli-api Show documentation
Tessera is a stateless Java system that is used to enable the encryption, decryption, and distribution of private transactions for Quorum.
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