/*
 * Copyright 2018, EnMasse authors.
 * License: Apache License 2.0 (see the file LICENSE or http://apache.org/licenses/LICENSE-2.0.html).
 */
package io.enmasse.systemtest.executor;

public class ExecutionResultData {
    private boolean retCode;
    private String stdOut;
    private String stdErr;

    public ExecutionResultData(int retCode, String stdOut, String stdErr) {
        this.retCode = retCode == 0;
        this.stdOut = stdOut;
        this.stdErr = stdErr;
    }

    public boolean getRetCode() {
        return retCode;
    }

    public String getStdOut() {
        return stdOut;
    }

    public String getStdErr() {
        return stdErr;
    }
}
