Package atessera.sensei.util
Class DockerRunResult
java.lang.Object
atessera.sensei.util.DockerRunResult
Result of running a command inside a Docker container.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleansuccess()Returnstruewhen the command finished successfully.
-
Field Details
-
exitCode
public final int exitCodeExit code returned by the command. -
output
Combined standard output and error text.
-
-
Constructor Details
-
DockerRunResult
Creates a run result.- Parameters:
exitCode- exit code returned by the commandoutput- combined standard output and error text
-
-
Method Details
-
success
public boolean success()Returnstruewhen the command finished successfully.- Returns:
truewhen the exit code is zero
-