Class DefaultInvocationResult

  • All Implemented Interfaces:
    InvocationResult

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.maven.shared.utils.cli.CommandLineException getExecutionException()
      Getter for the field executionException.
      int getExitCode()
      Getter for the field exitCode.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • 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.