Package org.apache.maven.api.cli.mvnsh
Interface ShellOptions
- All Superinterfaces:
Options
- All Known Implementing Classes:
CommonsCliShellOptions
Defines the options specific to the Maven Shell tool.
This interface extends the general
Options
interface, adding shell-specific configuration options.- Since:
- 4.0.0
-
Field Summary
Fields inherited from interface org.apache.maven.api.cli.Options
SOURCE_CLI
-
Method Summary
Modifier and TypeMethodDescriptioninterpolate
(UnaryOperator<String> callback) Returns a new instance of ShellOptions with values interpolated using the given properties.Methods inherited from interface org.apache.maven.api.cli.Options
altInstallationSettings, altInstallationToolchains, altProjectSettings, altUserSettings, altUserToolchains, color, displayHelp, failOnSeverity, forceInteractive, help, logFile, nonInteractive, offline, quiet, rawStreams, showErrors, showVersion, showVersionAndExit, source, userProperties, verbose, warnAboutDeprecatedOptions
-
Method Details
-
interpolate
Returns a new instance of ShellOptions with values interpolated using the given properties.- Specified by:
interpolate
in interfaceOptions
- Parameters:
callback
- a callback to use for interpolation- Returns:
- a new EncryptOptions instance with interpolated values
-