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()
InvocationResult
InvocationResult.getExecutionException()
reports an exception.getExitCode
in interface InvocationResult
public org.apache.maven.shared.utils.cli.CommandLineException getExecutionException()
InvocationResult
getExecutionException
in interface InvocationResult
null
if the command line was successfully
processed by the operating system.Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.