Package org.apache.maven.executor
Interface ExecutorResult
- All Known Implementing Classes:
SimpleExecutionResult
public interface ExecutorResult
Represents an execution result.
-
Method Summary
Modifier and TypeMethodDescriptionexitCode()The exit code, if available (ie running the tool happened in a way it did produce exit code).TheExecutorRequestthis result is for.booleansuccess()The outcome of execution.
-
Method Details
-
getRequest
ExecutorRequest getRequest()TheExecutorRequestthis result is for. -
success
boolean success()The outcome of execution. -
exitCode
The exit code, if available (ie running the tool happened in a way it did produce exit code). -
stdOutString
IfExecutorRequest.grabOutputAsString()wastrue, then theStringcontaining STDOUT of tool. Nevernull, but maybe empty string. Otherwise, empty. -
stdErrString
IfExecutorRequest.grabOutputAsString()wastrue, then theStringcontaining STDERR of tool. Nevernull, but maybe empty string. Otherwise, empty.
-