public final class DefaultInvocationResult extends Object implements InvocationResult
| Modifier and Type | Method and Description |
|---|---|
org.apache.maven.shared.utils.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.apache.maven.shared.utils.cli.CommandLineException getExecutionException()
InvocationResultgetExecutionException in interface InvocationResultnull if the command line was successfully
processed by the operating system.Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.