Package org.apache.maven.cling.invoker
Class LayeredOptions<O extends Options>
java.lang.Object
org.apache.maven.cling.invoker.LayeredOptions<O>
- Type Parameters:
O- The type of options.
- All Implemented Interfaces:
Options
- Direct Known Subclasses:
LayeredMavenOptions
Options that are "layered" by precedence order.
-
Field Summary
FieldsFields inherited from interface org.apache.maven.api.cli.Options
SOURCE_CLI -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncolor()voiddisplayHelp(ParserRequest request, Consumer<String> printWriter) help()logFile()quiet()protected <T> Optional<T>returnFirstPresentOrEmpty(Function<O, Optional<T>> getter) source()verbose()voidwarnAboutDeprecatedOptions(ParserRequest request, Consumer<String> printWriter) Methods 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.Options
interpolate
-
Field Details
-
options
-
-
Constructor Details
-
LayeredOptions
-
-
Method Details
-
userProperties
- Specified by:
userPropertiesin interfaceOptions
-
source
-
showVersionAndExit
- Specified by:
showVersionAndExitin interfaceOptions
-
showVersion
- Specified by:
showVersionin interfaceOptions
-
quiet
-
verbose
-
showErrors
- Specified by:
showErrorsin interfaceOptions
-
failOnSeverity
- Specified by:
failOnSeverityin interfaceOptions
-
nonInteractive
- Specified by:
nonInteractivein interfaceOptions
-
forceInteractive
- Specified by:
forceInteractivein interfaceOptions
-
altUserSettings
- Specified by:
altUserSettingsin interfaceOptions
-
altProjectSettings
- Specified by:
altProjectSettingsin interfaceOptions
-
altInstallationSettings
- Specified by:
altInstallationSettingsin interfaceOptions
-
altUserToolchains
- Specified by:
altUserToolchainsin interfaceOptions
-
altInstallationToolchains
- Specified by:
altInstallationToolchainsin interfaceOptions
-
logFile
-
rawStreams
- Specified by:
rawStreamsin interfaceOptions
-
color
-
help
-
warnAboutDeprecatedOptions
- Specified by:
warnAboutDeprecatedOptionsin interfaceOptions
-
displayHelp
- Specified by:
displayHelpin interfaceOptions
-
returnFirstPresentOrEmpty
-
collectListIfPresentOrEmpty
-
collectMapIfPresentOrEmpty
-