conditions property

List<Condition> conditions
final

The conditions of the declaring class; the files are loaded only when all of them match. So a @Profile(['prod']) class does not load its @PropertySource in other profiles, as in Spring.

Implementation

final List<Condition> conditions;