public class AutoConfigurations extends Configurations implements Ordered
Configurations
representing auto-configuration @Configuration
classes.HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
Modifier | Constructor and Description |
---|---|
protected |
AutoConfigurations(Collection<Class<?>> classes) |
Modifier and Type | Method and Description |
---|---|
int |
getOrder() |
protected AutoConfigurations |
merge(Set<Class<?>> mergedClasses)
Merge configurations.
|
static AutoConfigurations |
of(Class<?>... classes) |
protected Collection<Class<?>> |
sort(Collection<Class<?>> classes)
Sort configuration classes into the order that they should be applied.
|
getClasses, getClasses, getClasses, merge
protected AutoConfigurations(Collection<Class<?>> classes)
protected Collection<Class<?>> sort(Collection<Class<?>> classes)
Configurations
sort
in class Configurations
classes
- the classes to sortprotected AutoConfigurations merge(Set<Class<?>> mergedClasses)
Configurations
merge
in class Configurations
mergedClasses
- the merged classespublic static AutoConfigurations of(Class<?>... classes)
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.