Class DefaultInvocationResult

java.lang.Object
org.apache.maven.shared.invoker.DefaultInvocationResult
All Implemented Interfaces:
InvocationResult

public final class DefaultInvocationResult extends Object implements InvocationResult
Describes the result of a Maven invocation.
  • Method Details

    • getExitCode

      public int getExitCode()

      Getter for the field exitCode.

      Specified by:
      getExitCode in interface InvocationResult
      Returns:
      a int.
    • getExecutionException

      public org.apache.maven.shared.utils.cli.CommandLineException getExecutionException()

      Getter for the field executionException.

      Specified by:
      getExecutionException in interface InvocationResult
      Returns:
      a CommandLineException object.