Package org.apache.maven.execution
Class BuildFailure
java.lang.Object
org.apache.maven.execution.BuildSummary
org.apache.maven.execution.BuildFailure
Summarizes the result of a failed project build in the reactor.
- 
Constructor SummaryConstructorsConstructorDescriptionBuildFailure(MavenProject project, long time, Throwable cause) Creates a new build summary for the specified project.BuildFailure(MavenProject project, Duration time, Throwable cause) Creates a new build summary for the specified project.BuildFailure(MavenProject project, Duration execTime, Duration wallTime, Throwable cause) Creates a new build summary for the specified project.
- 
Method SummaryMethods inherited from class org.apache.maven.execution.BuildSummarygetExecTime, getProject, getTime, getWallTime
- 
Constructor Details- 
BuildFailureCreates a new build summary for the specified project.- Parameters:
- project- The project being summarized, must not be- null.
- time- The build time of the project in milliseconds.
- cause- The cause of the build failure, may be- null.
 
- 
BuildFailureCreates a new build summary for the specified project.- Parameters:
- project- The project being summarized, must not be- null.
- time- The build time of the project in milliseconds.
- cause- The cause of the build failure, may be- null.
 
- 
BuildFailureCreates a new build summary for the specified project.- Parameters:
- project- The project being summarized, must not be- null.
- execTime- The exec time of the project in milliseconds.
- wallTime- The wall time of the project in milliseconds.
- cause- The cause of the build failure, may be- null.
 
 
- 
- 
Method Details- 
getCauseGets the cause of the build failure.- Returns:
- The cause of the build failure or nullif unknown.
 
 
-