Class DefaultMavenParser
java.lang.Object
org.apache.maven.cling.invoker.BaseParser<MavenOptions,MavenInvokerRequest<MavenOptions>>
org.apache.maven.cling.invoker.mvn.BaseMavenParser<MavenOptions,MavenInvokerRequest<MavenOptions>>
org.apache.maven.cling.invoker.mvn.DefaultMavenParser
- All Implemented Interfaces:
MavenParser<MavenInvokerRequest<MavenOptions>>
,Parser<MavenInvokerRequest<MavenOptions>>
public class DefaultMavenParser
extends BaseMavenParser<MavenOptions,MavenInvokerRequest<MavenOptions>>
implements MavenParser<MavenInvokerRequest<MavenOptions>>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.maven.cling.invoker.BaseParser
BaseParser.LocalContext
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected MavenOptions
assembleOptions
(List<MavenOptions> parsedOptions) protected DefaultMavenInvokerRequest
<MavenOptions> getInvokerRequest
(BaseParser.LocalContext context) protected MavenOptions
Methods inherited from class org.apache.maven.cling.invoker.mvn.BaseMavenParser
parseCliOptions, parseMavenCliOptions, parseMavenConfigOptions
Methods inherited from class org.apache.maven.cling.invoker.BaseParser
getCwd, getInstallationDirectory, 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
-
DefaultMavenParser
public DefaultMavenParser()
-
-
Method Details
-
getInvokerRequest
protected DefaultMavenInvokerRequest<MavenOptions> getInvokerRequest(BaseParser.LocalContext context) - Specified by:
getInvokerRequest
in classBaseParser<MavenOptions,
MavenInvokerRequest<MavenOptions>>
-
parseArgs
- Specified by:
parseArgs
in classBaseMavenParser<MavenOptions,
MavenInvokerRequest<MavenOptions>> - Throws:
ParserException
-
assembleOptions
- Specified by:
assembleOptions
in classBaseParser<MavenOptions,
MavenInvokerRequest<MavenOptions>>
-