Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- accepts(String, Class, Class) - Method in class org.springframework.boot.testcontainers.service.connection.ContainerConnectionSource
-
Return if this source accepts the given connection.
- 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.
C
- certificate() - Element in annotation interface org.springframework.boot.testcontainers.service.connection.PemKeyStore
-
The location or content of the certificate or certificate chain in PEM format.
- certificate() - Element in annotation interface org.springframework.boot.testcontainers.service.connection.PemTrustStore
-
The location or content of the certificate or certificate chain in PEM format.
- ciphers() - Element in annotation interface org.springframework.boot.testcontainers.service.connection.Ssl
-
The ciphers that can be used for the SSL connection.
- ContainerConnectionDetails(ContainerConnectionSource) - Constructor for class org.springframework.boot.testcontainers.service.connection.ContainerConnectionDetailsFactory.ContainerConnectionDetails
-
Create a new
ContainerConnectionDetailsFactory.ContainerConnectionDetailsinstance. - ContainerConnectionDetailsFactory<C,
D> - Class in org.springframework.boot.testcontainers.service.connection -
Base class for
ConnectionDetailsFactoryimplementations that provideConnectionDetailsfrom aContainerConnectionSource. - ContainerConnectionDetailsFactory() - Constructor for class org.springframework.boot.testcontainers.service.connection.ContainerConnectionDetailsFactory
-
Create a new
ContainerConnectionDetailsFactoryinstance that acceptsany connection name. - ContainerConnectionDetailsFactory(String, String...) - Constructor for class org.springframework.boot.testcontainers.service.connection.ContainerConnectionDetailsFactory
-
Create a new
ContainerConnectionDetailsFactoryinstance with the given connection name restriction. - ContainerConnectionDetailsFactory(List, String...) - Constructor for class org.springframework.boot.testcontainers.service.connection.ContainerConnectionDetailsFactory
-
Create a new
ContainerConnectionDetailsFactoryinstance with the given supported connection names. - ContainerConnectionDetailsFactory.ContainerConnectionDetails<C> - Class in org.springframework.boot.testcontainers.service.connection
-
Base class for
ConnectionDetailsresults that are backed by aContainerConnectionSource. - ContainerConnectionSource<C> - Class in org.springframework.boot.testcontainers.service.connection
-
Passed to
ContainerConnectionDetailsFactoryto provide details of the@ServiceConnectionannotatedContainerthat provides the service.
E
- enabledProtocols() - Element in annotation interface org.springframework.boot.testcontainers.service.connection.Ssl
-
The protocols that are enabled for the SSL connection.
G
- getAnnotations() - Method in interface org.springframework.boot.testcontainers.beans.TestcontainerBeanDefinition
-
Return any annotations declared alongside the container.
- getConnectionDetails(ContainerConnectionSource) - 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) - Method in class org.springframework.boot.testcontainers.service.connection.ContainerConnectionDetailsFactory
- getContainerImageName() - Method in interface org.springframework.boot.testcontainers.beans.TestcontainerBeanDefinition
-
Return the container image name or
nullif 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
- getSslBundle() - Method in class org.springframework.boot.testcontainers.service.connection.ContainerConnectionDetailsFactory.ContainerConnectionDetails
-
Return the
SslBundleto use with this connection ornull.
H
- hasAnnotation(Class) - Method in class org.springframework.boot.testcontainers.service.connection.ContainerConnectionDetailsFactory.ContainerConnectionDetails
-
Whether the field or bean is annotated with the given annotation.
I
- ImportTestcontainers - Annotation Interface in org.springframework.boot.testcontainers.context
-
Imports idiomatic Testcontainers declaration classes into the Spring
ApplicationContext. - initialize(ConfigurableApplicationContext) - Method in class org.springframework.boot.testcontainers.lifecycle.TestcontainersLifecycleApplicationContextInitializer
J
- JksKeyStore - Annotation Interface in org.springframework.boot.testcontainers.service.connection
- JksTrustStore - Annotation Interface in org.springframework.boot.testcontainers.service.connection
K
- keyAlias() - Element in annotation interface org.springframework.boot.testcontainers.service.connection.Ssl
-
The alias that should be used to access the key.
- keyPassword() - Element in annotation interface org.springframework.boot.testcontainers.service.connection.Ssl
-
The password that should be used to access the key.
L
- location() - Element in annotation interface org.springframework.boot.testcontainers.service.connection.JksKeyStore
-
The location of the resource containing the store content.
- location() - Element in annotation interface org.springframework.boot.testcontainers.service.connection.JksTrustStore
-
The location of the resource containing the store content.
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.
- password() - Element in annotation interface org.springframework.boot.testcontainers.service.connection.JksKeyStore
-
The password used to access the store.
- password() - Element in annotation interface org.springframework.boot.testcontainers.service.connection.JksTrustStore
-
The password used to access the store.
- PemKeyStore - Annotation Interface in org.springframework.boot.testcontainers.service.connection
- PemTrustStore - Annotation Interface in org.springframework.boot.testcontainers.service.connection
- privateKey() - Element in annotation interface org.springframework.boot.testcontainers.service.connection.PemKeyStore
-
The location or content of the private key in PEM format.
- privateKey() - Element in annotation interface org.springframework.boot.testcontainers.service.connection.PemTrustStore
-
The location or content of the private key in PEM format.
- privateKeyPassword() - Element in annotation interface org.springframework.boot.testcontainers.service.connection.PemKeyStore
-
The password used to decrypt an encrypted private key.
- privateKeyPassword() - Element in annotation interface org.springframework.boot.testcontainers.service.connection.PemTrustStore
-
The password used to decrypt an encrypted private key.
- PROPERTY - Static variable in enum class org.springframework.boot.testcontainers.lifecycle.TestcontainersStartup
-
The
Environmentproperty used to change theTestcontainersStartupstrategy. - protocol() - Element in annotation interface org.springframework.boot.testcontainers.service.connection.Ssl
-
The protocol to use for the SSL connection.
- provider() - Element in annotation interface org.springframework.boot.testcontainers.service.connection.JksKeyStore
-
The provider for the store.
- provider() - Element in annotation interface org.springframework.boot.testcontainers.service.connection.JksTrustStore
-
The provider for the store.
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
-
Indicates that a field or method is a
ContainerConnectionSourcewhich provides a service that can be connected to. - ServiceConnectionAutoConfiguration - Class in org.springframework.boot.testcontainers.service.connection
- ServiceConnectionAutoConfiguration() - Constructor for class org.springframework.boot.testcontainers.service.connection.ServiceConnectionAutoConfiguration
- setApplicationContext(ApplicationContext) - Method in class org.springframework.boot.testcontainers.service.connection.ContainerConnectionDetailsFactory.ContainerConnectionDetails
-
Deprecated, for removal: This API element is subject to removal in a future version.
- sourceAccepts(ContainerConnectionSource, Class, Class) - Method in class org.springframework.boot.testcontainers.service.connection.ContainerConnectionDetailsFactory
-
Return if the given source accepts the connection.
- Ssl - Annotation Interface in org.springframework.boot.testcontainers.service.connection
-
Configures the
SslOptions,@SslBundleKeyandprotocolto use with anSSLsupported@ServiceConnection. - start(Startable) - Static method in enum class org.springframework.boot.testcontainers.lifecycle.TestcontainersStartup
-
Start the given
Startableunless is's detected as already running.
T
- TestcontainerBeanDefinition - Interface in org.springframework.boot.testcontainers.beans
-
Extended
BeanDefinitioninterface used to register testcontainer beans. - TestcontainersLifecycleApplicationContextInitializer - Class in org.springframework.boot.testcontainers.lifecycle
-
ApplicationContextInitializerto manage the lifecycle ofstartable containers. - TestcontainersLifecycleApplicationContextInitializer() - Constructor for class org.springframework.boot.testcontainers.lifecycle.TestcontainersLifecycleApplicationContextInitializer
- TestcontainersPropertySourceAutoConfiguration - Class in org.springframework.boot.testcontainers.properties
-
Auto-configurationto add support for properties sourced from a Testcontainerscontainer. - TestcontainersPropertySourceAutoConfiguration() - Constructor for class org.springframework.boot.testcontainers.properties.TestcontainersPropertySourceAutoConfiguration
- 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.JksKeyStore
-
The type of the store to create, e.g.
- type() - Element in annotation interface org.springframework.boot.testcontainers.service.connection.JksTrustStore
-
The type of the store to create, e.g.
- type() - Element in annotation interface org.springframework.boot.testcontainers.service.connection.PemKeyStore
-
The type of the store to create, e.g.
- type() - Element in annotation interface org.springframework.boot.testcontainers.service.connection.PemTrustStore
-
The type of the store to create, e.g.
- type() - Element in annotation interface org.springframework.boot.testcontainers.service.connection.ServiceConnection
-
A restriction to types of
ConnectionDetailsthat 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.JksKeyStore
-
Alias for
JksKeyStore.location(). - value() - Element in annotation interface org.springframework.boot.testcontainers.service.connection.JksTrustStore
-
Alias for
JksTrustStore.location(). - value() - Element in annotation interface org.springframework.boot.testcontainers.service.connection.PemKeyStore
-
Alias for
PemKeyStore.certificate(). - value() - Element in annotation interface org.springframework.boot.testcontainers.service.connection.PemTrustStore
-
Alias for
PemTrustStore.certificate(). - 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.
All Classes and Interfaces|All Packages|Constant Field Values