Class AutoConfigurations
java.lang.Object
org.springframework.boot.context.annotation.Configurations
org.springframework.boot.autoconfigure.AutoConfigurations
- All Implemented Interfaces:
Ordered
Configurations
representing auto-configuration @Configuration
classes.- Since:
- 2.0.0
- Author:
- Phillip Webb
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getOrder()
protected AutoConfigurations
Merge configurations.static AutoConfigurations
protected Collection<Class<?>>
sort
(Collection<Class<?>> classes) Sort configuration classes into the order that they should be applied.Methods inherited from class org.springframework.boot.context.annotation.Configurations
getClasses, getClasses, getClasses, merge
-
Constructor Details
-
AutoConfigurations
-
-
Method Details
-
sort
Description copied from class:Configurations
Sort configuration classes into the order that they should be applied.- Overrides:
sort
in classConfigurations
- Parameters:
classes
- the classes to sort- Returns:
- a sorted set of classes
-
getOrder
public int getOrder() -
merge
Description copied from class:Configurations
Merge configurations.- Specified by:
merge
in classConfigurations
- Parameters:
mergedClasses
- the merged classes- Returns:
- a new configurations instance (must be of the same type as this instance)
-
of
-