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 309bfac commit d6dfadb
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@
@ConfigurationProperties(prefix = "jmix.localfs")
@ConstructorBinding
public class LocalFileStorageProperties {

/**
* {@link LocalFileStorage} storage directory. If not set, {@code jmix.core.work-dir/filestorage} will be used.
*/
String storageDir;

public LocalFileStorageProperties(
Expand All @@ -30,7 +34,7 @@ public LocalFileStorageProperties(
}

/**
* {@link LocalFileStorage} storage directory. If not set, {@code jmix.core.workDir/filestorage} will be used.
* @see #storageDir
*/
public String getStorageDir() {
return storageDir;
Expand Down

0 comments on commit d6dfadb

Please sign in to comment.