I'd like to know if there's any programmatical way of getting all Spring profile names, active and inactive ?
There are several questions where only the names of active profiles were needed. My question isn't answered by such questions as I also need the names of inactive profiles.
Reason: I want to display all such profile names in a dropdown from which user can select which profile to use.