public static final class TestcontainersSettings.Builder extends Object
TestContainersSettings
builder.Modifier and Type | Method and Description |
---|---|
TestcontainersSettings.Builder |
baseImage(String baseImage)
Sets the
baseImage and returns a reference to this Builder enabling method
chaining. |
TestcontainersSettings |
build()
Returns a
TestContainersSettings built from the parameters previously set. |
TestcontainersSettings.Builder |
dependsOn(org.testcontainers.containers.GenericContainer<?> container)
Lets Flink cluster depending on another container, and bind the network of Flink cluster
to the dependent one.
|
TestcontainersSettings.Builder |
environmentVariable(String name,
String value)
Sets an environment variable and returns a reference to this Builder enabling method
chaining.
|
TestcontainersSettings.Builder |
logger(org.slf4j.Logger logger)
Sets the
baseImage and returns a reference to this Builder enabling method
chaining. |
TestcontainersSettings.Builder |
network(org.testcontainers.containers.Network network)
Sets the
network and returns a reference to this Builder enabling method
chaining. |
public TestcontainersSettings.Builder environmentVariable(String name, String value)
name
- The name of the environment variable.value
- The value of the environment variable.public TestcontainersSettings.Builder dependsOn(org.testcontainers.containers.GenericContainer<?> container)
public TestcontainersSettings.Builder network(org.testcontainers.containers.Network network)
network
and returns a reference to this Builder enabling method
chaining.network
- The network
to set.public TestcontainersSettings.Builder baseImage(String baseImage)
baseImage
and returns a reference to this Builder enabling method
chaining.baseImage
- The baseImage
to set.public TestcontainersSettings.Builder logger(org.slf4j.Logger logger)
baseImage
and returns a reference to this Builder enabling method
chaining.logger
- The logger
to set.public TestcontainersSettings build()
TestContainersSettings
built from the parameters previously set.TestContainersSettings
built with parameters of this TestContainersSettings.Builder
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.