Skip to content

Commit 1006f19

Browse files
committed
Last minute CLI fix for 8.0.0
1 parent 29e4ad9 commit 1006f19

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

modules/core-module/src/main/java/org/simplejavamail/api/email/EmailPopulatingBuilder.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,18 +88,24 @@ public interface EmailPopulatingBuilder {
8888
/**
8989
* Indicates that when the email is sent, no default values whatsoever should be applied to the email.
9090
*
91+
* @param ignoreDefaults Whether to ignore all default values or not for this email.
92+
*
9193
* @see #dontApplyDefaultValueFor(EmailProperty...)
9294
* @see org.simplejavamail.api.mailer.MailerRegularBuilder#withEmailDefaults(Email)
9395
*/
96+
@Cli.OptionNameOverride("ignoringDefaultsYesNo")
9497
EmailPopulatingBuilder ignoringDefaults(boolean ignoreDefaults);
9598

9699
/**
97100
* Indicates that when the email is sent, no override values whatsoever should be applied to the email.
98101
*
102+
* @param ignoreOverrides Whether to ignore all overrides values or not for this email.
103+
*
99104
* @see #dontApplyOverrideValueFor(EmailProperty...)
100105
* @see org.simplejavamail.api.mailer.MailerRegularBuilder#withEmailOverrides(Email)
101106
*/
102-
EmailPopulatingBuilder ignoringOverrides(boolean ignoreDefaults);
107+
@Cli.OptionNameOverride("ignoringOverridesYesNo")
108+
EmailPopulatingBuilder ignoringOverrides(boolean ignoreOverrides);
103109

104110
/**
105111
* Allows you to prevent a property to be configured with default values. This might be useful if you have defined defaults (either through (system) properties,

0 commit comments

Comments
 (0)