Package org.apache.maven.execution
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.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final MavenProjectThe project being summarized.private final longThe build time of the project in milliseconds. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuildSummary(MavenProject project, long time) Creates a new build summary for the specified project. -
Method Summary
Modifier and TypeMethodDescriptionGets the project being summarized.longgetTime()Gets the build time of the project in milliseconds.
-
Field Details
-
project
The project being summarized. -
time
private final long timeThe build time of the project in milliseconds.
-
-
Constructor Details
-
BuildSummary
Creates a new build summary for the specified project.- Parameters:
project- The project being summarized, must not benull.time- The build time of the project in milliseconds.
-
-
Method Details
-
getProject
Gets the project being summarized.- Returns:
- The project being summarized, never
null.
-
getTime
public long getTime()Gets the build time of the project in milliseconds.- Returns:
- The build time of the project in milliseconds.
-