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
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract O
parseCliOptions
(BaseParser.LocalContext context) protected O
parseMavenCliOptions
(List<String> args) protected O
parseMavenConfigOptions
(Path configFile) Methods inherited from class org.apache.maven.cling.invoker.BaseParser
assembleOptions, getCwd, getInstallationDirectory, getInvokerRequest, getRootDirectory, getTopDirectory, getUserHomeDirectory, parse, populateSystemProperties, populateUserProperties, readCoreExtensionsDescriptor, readCoreExtensionsDescriptorFromFile
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
parseCliOptions
in classBaseParser<O extends MavenOptions,
R extends MavenInvokerRequest<O>> - Throws:
ParserException
IOException
-
parseMavenCliOptions
- Throws:
ParserException
-
parseMavenConfigOptions
- Throws:
ParserException
IOException
-
parseArgs
- Throws:
ParserException
-