InvocationResultpublic final class DefaultInvocationResult extends java.lang.Object implements InvocationResult
| Modifier and Type | Method | Description |
|---|---|---|
org.codehaus.plexus.util.cli.CommandLineException |
getExecutionException() |
Gets the exception that possibly occurred during the execution of the command line.
|
int |
getExitCode() |
Gets the exit code from the Maven invocation.
|
public int getExitCode()
InvocationResultInvocationResult.getExecutionException() reports an exception.getExitCode in interface InvocationResultpublic org.codehaus.plexus.util.cli.CommandLineException getExecutionException()
InvocationResultgetExecutionException in interface InvocationResultnull if the command line was successfully
processed by the operating system.