Class BaseMavenParser<O extends MavenOptions,R extends MavenInvokerRequest<O>>
java.lang.Object
org.apache.maven.cling.invoker.BaseParser<O,R>
org.apache.maven.cling.invoker.mvn.BaseMavenParser<O,R>
- All Implemented Interfaces:
MavenParser<R>,Parser<R>
- Direct Known Subclasses:
DefaultForkedMavenParser,DefaultMavenParser
public abstract class BaseMavenParser<O extends MavenOptions,R extends MavenInvokerRequest<O>>
extends BaseParser<O,R>
implements MavenParser<R>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.maven.cling.invoker.BaseParser
BaseParser.LocalContext -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract OparseCliOptions(BaseParser.LocalContext context) protected OparseMavenCliOptions(List<String> args) protected OparseMavenConfigOptions(Path configFile) Methods inherited from class org.apache.maven.cling.invoker.BaseParser
assembleOptions, getCwd, getInstallationDirectory, getInvokerRequest, getRootDirectory, getTopDirectory, getUserHomeDirectory, parse, populateSystemProperties, populateUserProperties, readCoreExtensionsDescriptor, readCoreExtensionsDescriptorFromFileMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.maven.api.cli.mvn.MavenParser
parse
-
Constructor Details
-
BaseMavenParser
public BaseMavenParser()
-
-
Method Details
-
parseCliOptions
protected List<O> parseCliOptions(BaseParser.LocalContext context) throws ParserException, IOException - Specified by:
parseCliOptionsin classBaseParser<O extends MavenOptions,R extends MavenInvokerRequest<O>> - Throws:
ParserExceptionIOException
-
parseMavenCliOptions
- Throws:
ParserException
-
parseMavenConfigOptions
- Throws:
ParserExceptionIOException
-
parseArgs
- Throws:
ParserException
-