Interface ForkedMavenParser
- All Superinterfaces:
MavenParser<ForkedMavenInvokerRequest>
,Parser<ForkedMavenInvokerRequest>
- All Known Implementing Classes:
DefaultForkedMavenParser
Defines the contract for parsing command-line arguments specific to forked Maven executions.
This interface extends the
MavenParser
, specializing it for creating ForkedMavenInvokerRequest
objects.- Since:
- 4.0.0
-
Method Summary
Modifier and TypeMethodDescriptionparse
(ParserRequest parserRequest) Parses the given ParserRequest to create a ForkedMavenInvokerRequest.
-
Method Details
-
parse
@Nonnull ForkedMavenInvokerRequest parse(@Nonnull ParserRequest parserRequest) throws ParserException, IOException Parses the given ParserRequest to create a ForkedMavenInvokerRequest. This method is responsible for interpreting the contents of the ParserRequest and constructing the appropriate ForkedMavenInvokerRequest object for forked Maven operations.- Specified by:
parse
in interfaceMavenParser<ForkedMavenInvokerRequest>
- Specified by:
parse
in interfaceParser<ForkedMavenInvokerRequest>
- Parameters:
parserRequest
- the request containing all necessary information for parsing- Returns:
- the parsed ForkedMavenInvokerRequest
- Throws:
ParserException
- if there's an error during parsing of the requestIOException
- if there's an I/O error during the parsing process
-