'How to create property by condition in spring application.properties file
how can I create an if conditional in the spring applicaiton.properties file?.
for example:
restart.enabled=true
project.name=(restart.enabled == true) ? "restartProjectName" : "projectName"
thanks for all :)
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
