Class MavenBuildResult
java.lang.Object
uno.anahata.asi.nb.tools.maven.MavenBuildResult
Represents the detailed result of a Maven build execution, including status,
exit code, captured output, and a breakdown of build phases.
This DTO is the primary outcome of Maven.runGoals(String, List, List, Map, List, Long) and provides the
necessary data for the ASI to reason about build successes, failures,
and performance bottlenecks across different Maven phases.
- Author:
- anahata
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classRepresents a single phase or goal within a Maven build.static enumThe final status of the Maven process. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate IntegerThe exit code of the Maven process.private StringThe absolute path to the full, untruncated log file saved on disk.private List<MavenBuildResult.BuildPhase> A list of build phases executed during the Maven run, with their individual outcomes.private MavenBuildResult.ProcessStatusThe final status of the Maven process.private StringThe captured standard error stream (last 100 lines).private StringThe captured standard output stream (last 100 lines). -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
status
The final status of the Maven process. -
exitCode
The exit code of the Maven process. -
stdOutput
The captured standard output stream (last 100 lines). -
stdError
The captured standard error stream (last 100 lines). -
logFile
The absolute path to the full, untruncated log file saved on disk. -
phases
A list of build phases executed during the Maven run, with their individual outcomes.
-
-
Constructor Details
-
MavenBuildResult
public MavenBuildResult()
-

