Package org.apache.maven.api.cli.mvnenc
Interface EncryptOptions
- All Superinterfaces:
Options
- All Known Implementing Classes:
CommonsCliEncryptOptions
Defines the options specific to the Maven encryption tool.
This interface extends the general
Options interface, adding encryption-specific configuration options.- Since:
- 4.0.0
-
Field Summary
Fields inherited from interface org.apache.maven.api.cli.Options
SOURCE_CLI -
Method Summary
Methods inherited from interface org.apache.maven.api.cli.Options
altInstallationSettings, altInstallationToolchains, altProjectSettings, altUserSettings, altUserToolchains, color, displayHelp, failOnSeverity, forceInteractive, help, interpolate, logFile, nonInteractive, offline, quiet, rawStreams, showErrors, showVersion, showVersionAndExit, source, userProperties, verbose, warnAboutDeprecatedOptions
-
Method Details
-
force
Should the operation be forced (ie overwrite existing config, if any).- Returns:
- an
Optionalcontaining the boolean valuetrueif specified, or empty
-
yes
Should imply "yes" to all questions.- Returns:
- an
Optionalcontaining the boolean valuetrueif specified, or empty
-
goals
Returns the list of encryption goals to be executed. These goals can include operations like "init", "add-server", "delete-server", etc.- Returns:
- an
Optionalcontaining the list of goals, or empty if not specified
-