conditions property

List<ClassType<Condition>> conditions
final

Condition classes that must match for the annotated type to be processed.

These classes are typically implementations of the Condition interface.

Example:

@Conditional([ClassType<OnProductionEnvironmentCondition>()])
class ProductionDataSourceConfig {}

Implementation

final List<ClassType<Condition>> conditions;