Package randoop.main
Class Minimize.Outputs
- java.lang.Object
-
- randoop.main.Minimize.Outputs
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
diagnostics()
Verbose toString().(package private) static Minimize.Outputs
failure(org.apache.commons.exec.CommandLine command, String errout)
Create an Outputs object representing a failed execution.boolean
isFailure()
Return true if the command failed.boolean
isSuccess()
Return true if the command succeeded.
-
-
-
Method Detail
-
failure
static Minimize.Outputs failure(org.apache.commons.exec.CommandLine command, String errout)
Create an Outputs object representing a failed execution.- Parameters:
command
- the command that was runerrout
- error output- Returns:
- an Outputs object representing a failed execution
-
isSuccess
public boolean isSuccess()
Return true if the command succeeded.- Returns:
- true if the command succeeded
-
isFailure
public boolean isFailure()
Return true if the command failed.- Returns:
- true if the command failed
-
diagnostics
public String diagnostics()
Verbose toString().- Returns:
- a verbose multi-line string representation of this object, for dbugging
-
-