
com.github.dakusui.cmd.CommandResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of commandrunner Show documentation
Show all versions of commandrunner Show documentation
Command line runner library for Java
package com.github.dakusui.cmd;
public class CommandResult {
private int exitCode;
private String commandLine;
private String stdout;
private String stderr;
private String stdouterr;
public CommandResult(String commandLine, int exitCode, String stdout, String stderr, String stdouterr) {
this.commandLine = commandLine;
this.exitCode = exitCode;
this.stdout = stdout;
this.stderr = stderr;
this.stdouterr = stdouterr;
}
public String stdout() {
return this.stdout;
}
public String stderr() {
return this.stderr;
}
public String stdouterr() {
return this.stdouterr;
}
public int exitCode() {
return this.exitCode;
}
public String commandLine() {
return this.commandLine;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy