Class BuildSummary
java.lang.Object
org.apache.maven.execution.BuildSummary
- Direct Known Subclasses:
- BuildFailure,- BuildSuccess
Summarizes the result of a project build in the reactor.
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedBuildSummary(MavenProject project, long time) Creates a new build summary for the specified project.protectedBuildSummary(MavenProject project, Duration execTime, Duration wallTime) Creates a new build summary for the specified project.
- 
Method SummaryModifier and TypeMethodDescriptionGets the exec time of the project.Gets the project being summarized.longgetTime()Gets the wall time of the project in milliseconds.Gets the wall time of the project.
- 
Constructor Details- 
BuildSummaryCreates 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.
 
- 
BuildSummaryCreates 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.
 
 
- 
- 
Method Details- 
getProjectGets the project being summarized.- Returns:
- The project being summarized, never null.
 
- 
getTimepublic long getTime()Gets the wall time of the project in milliseconds.- Returns:
- The wall time of the project in milliseconds.
 
- 
getWallTimeGets the wall time of the project.- Returns:
- The wall time of the project.
 
- 
getExecTimeGets the exec time of the project.- Returns:
- The exec time of the project.
 
 
-