[CST-7756] refactoring & added missing JavaDoc

This commit is contained in:
Mykhaylo
2023-01-25 18:37:01 +01:00
parent 1f06e29c25
commit f4ca5958ac
14 changed files with 160 additions and 208 deletions

View File

@@ -42,7 +42,8 @@ public class SubscriptionEmailNotificationConfiguration<T
public Options getOptions() {
if (Objects.isNull(options)) {
Options options = new Options();
options.addOption("f", "Frequency", true, "Subscription frequency. It can have value D, M or W");
options.addOption("f", "Frequency", true, "Subscription frequency."
+ " It can have value D stand for 'Day', W stand for 'Week' and M stand for 'Month'");
options.getOption("f").setRequired(true);
super.options = options;
}