Index

A B C G I N O P S T V 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

afterPropertiesSet() - Method in class org.springframework.boot.testcontainers.service.connection.ContainerConnectionDetailsFactory.ContainerConnectionDetails
 
ANY_CONNECTION_NAME - Static variable in class org.springframework.boot.testcontainers.service.connection.ContainerConnectionDetailsFactory
Constant passed to the constructor when any connection name is accepted.
attach(Environment) - Static method in class org.springframework.boot.testcontainers.properties.TestcontainersPropertySource
 
attach(Environment, BeanDefinitionRegistry) - Static method in class org.springframework.boot.testcontainers.properties.TestcontainersPropertySource
 

B

BeforeTestcontainersPropertySuppliedEvent - Class in org.springframework.boot.testcontainers.properties
Deprecated, for removal: This API element is subject to removal in a future version.
since 3.2.6 for removal in 3.4.0 in favor of BeforeTestcontainerUsedEvent
BeforeTestcontainerUsedEvent - Class in org.springframework.boot.testcontainers.lifecycle
Event published just before a Testcontainers Container is used.
BeforeTestcontainerUsedEvent(Object) - Constructor for class org.springframework.boot.testcontainers.lifecycle.BeforeTestcontainerUsedEvent
 

C

ContainerConnectionDetails(ContainerConnectionSource<C>) - Constructor for class org.springframework.boot.testcontainers.service.connection.ContainerConnectionDetailsFactory.ContainerConnectionDetails
ContainerConnectionDetailsFactory<C extends org.testcontainers.containers.Container<?>,D extends org.springframework.boot.autoconfigure.service.connection.ConnectionDetails> - Class in org.springframework.boot.testcontainers.service.connection
Base class for ConnectionDetailsFactory implementations that provide ConnectionDetails from a ContainerConnectionSource.
ContainerConnectionDetailsFactory() - Constructor for class org.springframework.boot.testcontainers.service.connection.ContainerConnectionDetailsFactory
Create a new ContainerConnectionDetailsFactory instance that accepts any connection name.
ContainerConnectionDetailsFactory(String, String...) - Constructor for class org.springframework.boot.testcontainers.service.connection.ContainerConnectionDetailsFactory
Create a new ContainerConnectionDetailsFactory instance with the given connection name restriction.
ContainerConnectionDetailsFactory.ContainerConnectionDetails<C extends org.testcontainers.containers.Container<?>> - Class in org.springframework.boot.testcontainers.service.connection
Base class for ConnectionDetails results that are backed by a ContainerConnectionSource.
ContainerConnectionSource<C extends org.testcontainers.containers.Container<?>> - Class in org.springframework.boot.testcontainers.service.connection
Passed to ContainerConnectionDetailsFactory to provide details of the @ServiceConnection annotated Container that provides the service.

G

getAnnotations() - Method in interface org.springframework.boot.testcontainers.beans.TestcontainerBeanDefinition
Return any annotations declared alongside the container.
getConnectionDetails(ContainerConnectionSource<C>) - Method in class org.springframework.boot.testcontainers.service.connection.ContainerConnectionDetailsFactory
 
getContainer() - Method in class org.springframework.boot.testcontainers.service.connection.ContainerConnectionDetailsFactory.ContainerConnectionDetails
Return the container that back this connection details instance.
getContainerConnectionDetails(ContainerConnectionSource<C>) - Method in class org.springframework.boot.testcontainers.service.connection.ContainerConnectionDetailsFactory
Get the ConnectionDetails from the given ContainerConnectionSource source.
getContainerImageName() - Method in interface org.springframework.boot.testcontainers.beans.TestcontainerBeanDefinition
Return the container image name or null if the image name is not yet known.
getOrigin() - Method in class org.springframework.boot.testcontainers.service.connection.ContainerConnectionDetailsFactory.ContainerConnectionDetails
 
getOrigin() - Method in class org.springframework.boot.testcontainers.service.connection.ContainerConnectionSource
 
getProperty(String) - Method in class org.springframework.boot.testcontainers.properties.TestcontainersPropertySource
 
getPropertyName() - Method in class org.springframework.boot.testcontainers.properties.BeforeTestcontainersPropertySuppliedEvent
Deprecated.
Return the name of the property about to be supplied.

I

ImportTestcontainers - Annotation Interface in org.springframework.boot.testcontainers.context
Imports idiomatic Testcontainer declaration classes into the Spring ApplicationContext.
initialize(ConfigurableApplicationContext) - Method in class org.springframework.boot.testcontainers.lifecycle.TestcontainersLifecycleApplicationContextInitializer
 

N

name() - Element in annotation interface org.springframework.boot.testcontainers.service.connection.ServiceConnection
The name of the service being connected to.

O

org.springframework.boot.testcontainers.beans - package org.springframework.boot.testcontainers.beans
Spring bean support classes for Testcontainers.
org.springframework.boot.testcontainers.context - package org.springframework.boot.testcontainers.context
Spring context support classes for Testcontainers.
org.springframework.boot.testcontainers.lifecycle - package org.springframework.boot.testcontainers.lifecycle
Utilities and helpers to allow testcontainers to be used in a Spring ApplicationContext.
org.springframework.boot.testcontainers.properties - package org.springframework.boot.testcontainers.properties
Dynamic container properties support.
org.springframework.boot.testcontainers.service.connection - package org.springframework.boot.testcontainers.service.connection
General support for service connections in tests.

P

PARALLEL - Enum constant in enum class org.springframework.boot.testcontainers.lifecycle.TestcontainersStartup
Startup containers in parallel.
PROPERTY - Static variable in enum class org.springframework.boot.testcontainers.lifecycle.TestcontainersStartup
The Environment property used to change the TestcontainersStartup strategy.

S

SEQUENTIAL - Enum constant in enum class org.springframework.boot.testcontainers.lifecycle.TestcontainersStartup
Startup containers sequentially.
ServiceConnection - Annotation Interface in org.springframework.boot.testcontainers.service.connection
Annotation used to indicate that a field or method is a ContainerConnectionSource which provides a service that can be connected to.
ServiceConnectionAutoConfiguration - Class in org.springframework.boot.testcontainers.service.connection
Auto-configuration for @ServiceConnection annotated Container beans.
setApplicationContext(ApplicationContext) - Method in class org.springframework.boot.testcontainers.service.connection.ContainerConnectionDetailsFactory.ContainerConnectionDetails
 

T

TestcontainerBeanDefinition - Interface in org.springframework.boot.testcontainers.beans
Extended BeanDefinition interface used to register testcontainer beans.
TestcontainersLifecycleApplicationContextInitializer - Class in org.springframework.boot.testcontainers.lifecycle
ApplicationContextInitializer to manage the lifecycle of startable containers.
TestcontainersLifecycleApplicationContextInitializer() - Constructor for class org.springframework.boot.testcontainers.lifecycle.TestcontainersLifecycleApplicationContextInitializer
 
TestcontainersPropertySource - Class in org.springframework.boot.testcontainers.properties
EnumerablePropertySource backed by a map with values supplied from one or more testcontainers.
TestcontainersPropertySourceAutoConfiguration - Class in org.springframework.boot.testcontainers.properties
Auto-configuration to add TestcontainersPropertySource support.
TestcontainersStartup - Enum Class in org.springframework.boot.testcontainers.lifecycle
Testcontainers startup strategies.
toString() - Method in class org.springframework.boot.testcontainers.service.connection.ContainerConnectionSource
 
type() - Element in annotation interface org.springframework.boot.testcontainers.service.connection.ServiceConnection
A restriction to types of ConnectionDetails that can be created from this connection.

V

value() - Element in annotation interface org.springframework.boot.testcontainers.context.ImportTestcontainers
The declaration classes to import.
value() - Element in annotation interface org.springframework.boot.testcontainers.service.connection.ServiceConnection
The name of the service being connected to.
valueOf(String) - Static method in enum class org.springframework.boot.testcontainers.lifecycle.TestcontainersStartup
Returns the enum constant of this class with the specified name.
values() - Static method in enum class org.springframework.boot.testcontainers.lifecycle.TestcontainersStartup
Returns an array containing the constants of this enum class, in the order they are declared.
A B C G I N O P S T V 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form