Package | Description |
---|---|
org.springframework.boot.autoconfigure |
Spring Boot's auto-configuration capabilities.
|
org.springframework.boot.context.annotation |
Classes related to Spring's
ApplicationContext
annotations. |
org.springframework.boot.test.context.runner |
Test utilities to run application contexts for testing.
|
Modifier and Type | Class and Description |
---|---|
class |
AutoConfigurations
Configurations representing auto-configuration @Configuration classes. |
Modifier and Type | Class and Description |
---|---|
class |
UserConfigurations
Configurations representing user-defined @Configuration classes (i.e. |
Modifier and Type | Method and Description |
---|---|
protected Configurations |
Configurations.merge(Configurations other)
Merge configurations from another source of the same type.
|
protected abstract Configurations |
Configurations.merge(Set<Class<?>> mergedClasses)
Merge configurations.
|
Modifier and Type | Method and Description |
---|---|
static Class<?>[] |
Configurations.getClasses(Configurations... configurations)
Return the classes from all the specified configurations in the order that they
would be registered.
|
protected Configurations |
Configurations.merge(Configurations other)
Merge configurations from another source of the same type.
|
Modifier and Type | Method and Description |
---|---|
static Class<?>[] |
Configurations.getClasses(Collection<Configurations> configurations)
Return the classes from all the specified configurations in the order that they
would be registered.
|
Modifier and Type | Method and Description |
---|---|
SELF |
AbstractApplicationContextRunner.withConfiguration(Configurations configurations)
Register the specified configuration classes with the
ApplicationContext . |
Constructor and Description |
---|
AbstractApplicationContextRunner(Supplier<C> contextFactory,
List<ApplicationContextInitializer<? super C>> initializers,
TestPropertyValues environmentProperties,
TestPropertyValues systemProperties,
ClassLoader classLoader,
ApplicationContext parent,
List<Configurations> configurations)
Create a new
AbstractApplicationContextRunner instance. |
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.