Interface EncryptParser

All Superinterfaces:
Parser<EncryptInvokerRequest>
All Known Implementing Classes:
DefaultEncryptParser

@Experimental public interface EncryptParser extends Parser<EncryptInvokerRequest>
Defines the contract for parsing encryption-related command-line arguments and creating an EncryptInvokerRequest. This interface extends the general Parser interface, specializing it for encryption operations.
Since:
4.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    parse(ParserRequest parserRequest)
    Parses the given ParserRequest to create an EncryptInvokerRequest.

    Methods inherited from interface org.apache.maven.api.cli.Parser

    mvn
  • Method Details

    • parse

      Parses the given ParserRequest to create an EncryptInvokerRequest. This method is responsible for interpreting the contents of the ParserRequest and constructing the appropriate EncryptInvokerRequest object for encryption operations.
      Specified by:
      parse in interface Parser<EncryptInvokerRequest>
      Parameters:
      parserRequest - the request containing all necessary information for parsing
      Returns:
      the parsed EncryptInvokerRequest
      Throws:
      ParserException - if there's an error during parsing of the request
      IOException - if there's an I/O error during the parsing process