Package org.apache.maven.shared.invoker
Interface InvocationResult
- All Known Implementing Classes:
 DefaultInvocationResult
public interface InvocationResult
Describes the result of a Maven invocation.
- Author:
 - jdcasey
 
- 
Method Summary
Modifier and TypeMethodDescriptionorg.apache.maven.shared.utils.cli.CommandLineExceptionGets the exception that possibly occurred during the execution of the command line.intGets the exit code from the Maven invocation. 
- 
Method Details
- 
getExecutionException
org.apache.maven.shared.utils.cli.CommandLineException getExecutionException()Gets the exception that possibly occurred during the execution of the command line.- Returns:
 - The exception that prevented to invoke Maven or 
nullif the command line was successfully processed by the operating system. 
 - 
getExitCode
int getExitCode()Gets the exit code from the Maven invocation. A non-zero value indicates a build failure. Note: This value is undefined ifgetExecutionException()reports an exception.- Returns:
 - The exit code from the Maven invocation.
 
 
 -