Skip to content
This repository has been archived by the owner on Mar 31, 2022. It is now read-only.

Commit

Permalink
Use Spring Boot Configuration Metadata for auto-completion of app pro…
Browse files Browse the repository at this point in the history
…perties in IDE jmix-framework/jmix#224

JmixBuildPlugin adds annotationProcessor for Jmix modules;
Javadoc in existing ConfigurationProperties classes moved from getters to fields in order to be better displayed in IDE hints while application.properties file is being edited;
  • Loading branch information
gorbunkov committed Sep 30, 2021
1 parent 489f8c6 commit 95b27ea
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions imap/src/main/java/io/jmix/imap/ImapProperties.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,15 @@ public class ImapProperties {
boolean debug;
int timeoutSeconds;
int eventsBatchSize;

/**
* Whether the default Imap Sync quartz scheduling configuration is used.
*/
String useDefaultQuartzConfiguration;

/**
* CRON expression that is used by default Imap Sync quartz scheduling configuration
*/
String imapSyncCron;

public ImapProperties(@DefaultValue("false") boolean trustAllCertificates,
Expand Down Expand Up @@ -73,14 +81,14 @@ public int getEventsBatchSize() {
}

/**
* @return true if default Imap Sync quartz scheduling configuration is used. False otherwise
* @see #useDefaultQuartzConfiguration
*/
public String getUseDefaultQuartzConfiguration() {
return useDefaultQuartzConfiguration;
}

/**
* @return CRON expression that is used by default Imap Sync quartz scheduling configuration
* @see #imapSyncCron
*/
public String getImapSyncCron() {
return imapSyncCron;
Expand Down

0 comments on commit 95b27ea

Please sign in to comment.