testcontainers
Module testcontainers
API
Declarations
Definitions
laf/testcontainers
This package does not have any public APIs.
Functions
newPostgreSQLContainer1
function newPostgreSQLContainer1() returns PostgreSQLContainer
The constructor function to generate an object of org.testcontainers.containers.PostgreSQLContainer
.
Return Type
- PostgreSQLContainer - The new
PostgreSQLContainer
class generated.
newPostgreSQLContainer2
function newPostgreSQLContainer2(DockerImageName arg0) returns PostgreSQLContainer
The constructor function to generate an object of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 DockerImageName - The
DockerImageName
value required to map with the Java constructor parameter.
Return Type
- PostgreSQLContainer - The new
PostgreSQLContainer
class generated.
newPostgreSQLContainer3
function newPostgreSQLContainer3(string arg0) returns PostgreSQLContainer
The constructor function to generate an object of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 string - The
string
value required to map with the Java constructor parameter.
Return Type
- PostgreSQLContainer - The new
PostgreSQLContainer
class generated.
PostgreSQLContainer_getCONTAINER_RUNNING_TIMEOUT_SEC
function PostgreSQLContainer_getCONTAINER_RUNNING_TIMEOUT_SEC() returns int
The function that retrieves the value of the public field CONTAINER_RUNNING_TIMEOUT_SEC
.
Return Type
- int - The
int
value of the field.
PostgreSQLContainer_getDEFAULT_TAG
function PostgreSQLContainer_getDEFAULT_TAG() returns string?
The function that retrieves the value of the public field DEFAULT_TAG
.
Return Type
- string? - The
string
value of the field.
PostgreSQLContainer_getIMAGE
function PostgreSQLContainer_getIMAGE() returns string?
The function that retrieves the value of the public field IMAGE
.
Return Type
- string? - The
string
value of the field.
PostgreSQLContainer_getINTERNAL_HOST_HOSTNAME
function PostgreSQLContainer_getINTERNAL_HOST_HOSTNAME() returns string?
The function that retrieves the value of the public field INTERNAL_HOST_HOSTNAME
.
Return Type
- string? - The
string
value of the field.
PostgreSQLContainer_getNAME
function PostgreSQLContainer_getNAME() returns string?
The function that retrieves the value of the public field NAME
.
Return Type
- string? - The
string
value of the field.
PostgreSQLContainer_getPOSTGRESQL_PORT
function PostgreSQLContainer_getPOSTGRESQL_PORT() returns Integer
The function that retrieves the value of the public field POSTGRESQL_PORT
.
Return Type
- Integer - The
Integer
value of the field.
PostgreSQLContainer_getSTATE_HEALTHY
function PostgreSQLContainer_getSTATE_HEALTHY() returns string?
The function that retrieves the value of the public field STATE_HEALTHY
.
Return Type
- string? - The
string
value of the field.
Classes
testcontainers: BindMode
Ballerina class mapping for the Java org.testcontainers.containers.BindMode
class.
Constructor
The init function of the Ballerina class mapping the org.testcontainers.containers.BindMode
Java class.
init (handle obj)
- obj handle - The
handle
value containing the Java reference of the object.
toString
function toString() returns string
The function to retrieve the string representation of the Ballerina class mapping the org.testcontainers.containers.BindMode
Java class.
Return Type
- string - The
string
form of the Java object instance.
Fields
- Fields Included from * JObject
- jObj handle
- jObj handle - The
handle
field that stores the reference to theorg.testcontainers.containers.BindMode
object.
testcontainers: Charset
Ballerina class mapping for the Java java.nio.charset.Charset
class.
Constructor
The init function of the Ballerina class mapping the java.nio.charset.Charset
Java class.
init (handle obj)
- obj handle - The
handle
value containing the Java reference of the object.
toString
function toString() returns string
The function to retrieve the string representation of the Ballerina class mapping the java.nio.charset.Charset
Java class.
Return Type
- string - The
string
form of the Java object instance.
Fields
- Fields Included from * JObject
- jObj handle
- jObj handle - The
handle
field that stores the reference to thejava.nio.charset.Charset
object.
testcontainers: Class
Ballerina class mapping for the Java java.lang.Class
class.
Constructor
The init function of the Ballerina class mapping the java.lang.Class
Java class.
init (handle obj)
- obj handle - The
handle
value containing the Java reference of the object.
toString
function toString() returns string
The function to retrieve the string representation of the Ballerina class mapping the java.lang.Class
Java class.
Return Type
- string - The
string
form of the Java object instance.
Fields
- Fields Included from * JObject
- jObj handle
- jObj handle - The
handle
field that stores the reference to thejava.lang.Class
object.
testcontainers: Connection
Ballerina class mapping for the Java java.sql.Connection
interface.
Constructor
The init function of the Ballerina class mapping the java.sql.Connection
Java interface.
init (handle obj)
- obj handle - The
handle
value containing the Java reference of the object.
toString
function toString() returns string
The function to retrieve the string representation of the Ballerina class mapping the java.sql.Connection
Java interface.
Return Type
- string - The
string
form of the Java object instance.
Fields
- Fields Included from * JObject
- jObj handle
- jObj handle - The
handle
field that stores the reference to thejava.sql.Connection
object.
testcontainers: Consumer
Ballerina class mapping for the Java java.util.function.Consumer
interface.
Constructor
The init function of the Ballerina class mapping the java.util.function.Consumer
Java interface.
init (handle obj)
- obj handle - The
handle
value containing the Java reference of the object.
toString
function toString() returns string
The function to retrieve the string representation of the Ballerina class mapping the java.util.function.Consumer
Java interface.
Return Type
- string - The
string
form of the Java object instance.
Fields
- Fields Included from * JObject
- jObj handle
- jObj handle - The
handle
field that stores the reference to thejava.util.function.Consumer
object.
testcontainers: Container
Ballerina class mapping for the Java org.testcontainers.containers.Container
interface.
Constructor
The init function of the Ballerina class mapping the org.testcontainers.containers.Container
Java interface.
init (handle obj)
- obj handle - The
handle
value containing the Java reference of the object.
toString
function toString() returns string
The function to retrieve the string representation of the Ballerina class mapping the org.testcontainers.containers.Container
Java interface.
Return Type
- string - The
string
form of the Java object instance.
Fields
- Fields Included from * JObject
- jObj handle
- jObj handle - The
handle
field that stores the reference to theorg.testcontainers.containers.Container
object.
testcontainers: Description
Ballerina class mapping for the Java org.junit.runner.Description
class.
Constructor
The init function of the Ballerina class mapping the org.junit.runner.Description
Java class.
init (handle obj)
- obj handle - The
handle
value containing the Java reference of the object.
toString
function toString() returns string
The function to retrieve the string representation of the Ballerina class mapping the org.junit.runner.Description
Java class.
Return Type
- string - The
string
form of the Java object instance.
Fields
- Fields Included from * JObject
- jObj handle
- jObj handle - The
handle
field that stores the reference to theorg.junit.runner.Description
object.
testcontainers: DockerClient
Ballerina class mapping for the Java com.github.dockerjava.api.DockerClient
interface.
Constructor
The init function of the Ballerina class mapping the com.github.dockerjava.api.DockerClient
Java interface.
init (handle obj)
- obj handle - The
handle
value containing the Java reference of the object.
toString
function toString() returns string
The function to retrieve the string representation of the Ballerina class mapping the com.github.dockerjava.api.DockerClient
Java interface.
Return Type
- string - The
string
form of the Java object instance.
Fields
- Fields Included from * JObject
- jObj handle
- jObj handle - The
handle
field that stores the reference to thecom.github.dockerjava.api.DockerClient
object.
testcontainers: DockerImageName
Ballerina class mapping for the Java org.testcontainers.utility.DockerImageName
class.
Constructor
The init function of the Ballerina class mapping the org.testcontainers.utility.DockerImageName
Java class.
init (handle obj)
- obj handle - The
handle
value containing the Java reference of the object.
toString
function toString() returns string
The function to retrieve the string representation of the Ballerina class mapping the org.testcontainers.utility.DockerImageName
Java class.
Return Type
- string - The
string
form of the Java object instance.
Fields
- Fields Included from * JObject
- jObj handle
- jObj handle - The
handle
field that stores the reference to theorg.testcontainers.utility.DockerImageName
object.
testcontainers: Driver
Ballerina class mapping for the Java java.sql.Driver
interface.
Constructor
The init function of the Ballerina class mapping the java.sql.Driver
Java interface.
init (handle obj)
- obj handle - The
handle
value containing the Java reference of the object.
toString
function toString() returns string
The function to retrieve the string representation of the Ballerina class mapping the java.sql.Driver
Java interface.
Return Type
- string - The
string
form of the Java object instance.
Fields
- Fields Included from * JObject
- jObj handle
- jObj handle - The
handle
field that stores the reference to thejava.sql.Driver
object.
testcontainers: Duration
Ballerina class mapping for the Java java.time.Duration
class.
Constructor
The init function of the Ballerina class mapping the java.time.Duration
Java class.
init (handle obj)
- obj handle - The
handle
value containing the Java reference of the object.
toString
function toString() returns string
The function to retrieve the string representation of the Ballerina class mapping the java.time.Duration
Java class.
Return Type
- string - The
string
form of the Java object instance.
Fields
- Fields Included from * JObject
- jObj handle
- jObj handle - The
handle
field that stores the reference to thejava.time.Duration
object.
testcontainers: Enum
Ballerina class mapping for the Java java.lang.Enum
class.
Constructor
The init function of the Ballerina class mapping the java.lang.Enum
Java class.
init (handle obj)
- obj handle - The
handle
value containing the Java reference of the object.
toString
function toString() returns string
The function to retrieve the string representation of the Ballerina class mapping the java.lang.Enum
Java class.
Return Type
- string - The
string
form of the Java object instance.
Fields
- Fields Included from * JObject
- jObj handle
- jObj handle - The
handle
field that stores the reference to thejava.lang.Enum
object.
testcontainers: ExecResult
Ballerina class mapping for the Java org.testcontainers.containers.Container$ExecResult
class.
Constructor
The init function of the Ballerina class mapping the org.testcontainers.containers.Container$ExecResult
Java class.
init (handle obj)
- obj handle - The
handle
value containing the Java reference of the object.
toString
function toString() returns string
The function to retrieve the string representation of the Ballerina class mapping the org.testcontainers.containers.Container$ExecResult
Java class.
Return Type
- string - The
string
form of the Java object instance.
Fields
- Fields Included from * JObject
- jObj handle
- jObj handle - The
handle
field that stores the reference to theorg.testcontainers.containers.Container$ExecResult
object.
testcontainers: FailureDetectingExternalResource
Ballerina class mapping for the Java org.testcontainers.containers.FailureDetectingExternalResource
class.
Constructor
The init function of the Ballerina class mapping the org.testcontainers.containers.FailureDetectingExternalResource
Java class.
init (handle obj)
- obj handle - The
handle
value containing the Java reference of the object.
toString
function toString() returns string
The function to retrieve the string representation of the Ballerina class mapping the org.testcontainers.containers.FailureDetectingExternalResource
Java class.
Return Type
- string - The
string
form of the Java object instance.
Fields
- Fields Included from * JObject
- jObj handle
- jObj handle - The
handle
field that stores the reference to theorg.testcontainers.containers.FailureDetectingExternalResource
object.
testcontainers: Function
Ballerina class mapping for the Java java.util.function.Function
interface.
Constructor
The init function of the Ballerina class mapping the java.util.function.Function
Java interface.
init (handle obj)
- obj handle - The
handle
value containing the Java reference of the object.
toString
function toString() returns string
The function to retrieve the string representation of the Ballerina class mapping the java.util.function.Function
Java interface.
Return Type
- string - The
string
form of the Java object instance.
Fields
- Fields Included from * JObject
- jObj handle
- jObj handle - The
handle
field that stores the reference to thejava.util.function.Function
object.
testcontainers: Future
Ballerina class mapping for the Java java.util.concurrent.Future
interface.
Constructor
The init function of the Ballerina class mapping the java.util.concurrent.Future
Java interface.
init (handle obj)
- obj handle - The
handle
value containing the Java reference of the object.
toString
function toString() returns string
The function to retrieve the string representation of the Ballerina class mapping the java.util.concurrent.Future
Java interface.
Return Type
- string - The
string
form of the Java object instance.
Fields
- Fields Included from * JObject
- jObj handle
- jObj handle - The
handle
field that stores the reference to thejava.util.concurrent.Future
object.
testcontainers: GenericContainer
Ballerina class mapping for the Java org.testcontainers.containers.GenericContainer
class.
Constructor
The init function of the Ballerina class mapping the org.testcontainers.containers.GenericContainer
Java class.
init (handle obj)
- obj handle - The
handle
value containing the Java reference of the object.
toString
function toString() returns string
The function to retrieve the string representation of the Ballerina class mapping the org.testcontainers.containers.GenericContainer
Java class.
Return Type
- string - The
string
form of the Java object instance.
Fields
- Fields Included from * JObject
- jObj handle
- jObj handle - The
handle
field that stores the reference to theorg.testcontainers.containers.GenericContainer
object.
testcontainers: ImagePullPolicy
Ballerina class mapping for the Java org.testcontainers.images.ImagePullPolicy
interface.
Constructor
The init function of the Ballerina class mapping the org.testcontainers.images.ImagePullPolicy
Java interface.
init (handle obj)
- obj handle - The
handle
value containing the Java reference of the object.
toString
function toString() returns string
The function to retrieve the string representation of the Ballerina class mapping the org.testcontainers.images.ImagePullPolicy
Java interface.
Return Type
- string - The
string
form of the Java object instance.
Fields
- Fields Included from * JObject
- jObj handle
- jObj handle - The
handle
field that stores the reference to theorg.testcontainers.images.ImagePullPolicy
object.
testcontainers: InspectContainerResponse
Ballerina class mapping for the Java com.github.dockerjava.api.command.InspectContainerResponse
class.
Constructor
The init function of the Ballerina class mapping the com.github.dockerjava.api.command.InspectContainerResponse
Java class.
init (handle obj)
- obj handle - The
handle
value containing the Java reference of the object.
toString
function toString() returns string
The function to retrieve the string representation of the Ballerina class mapping the com.github.dockerjava.api.command.InspectContainerResponse
Java class.
Return Type
- string - The
string
form of the Java object instance.
Fields
- Fields Included from * JObject
- jObj handle
- jObj handle - The
handle
field that stores the reference to thecom.github.dockerjava.api.command.InspectContainerResponse
object.
testcontainers: Integer
Ballerina class mapping for the Java java.lang.Integer
class.
Constructor
The init function of the Ballerina class mapping the java.lang.Integer
Java class.
init (handle obj)
- obj handle - The
handle
value containing the Java reference of the object.
toString
function toString() returns string
The function to retrieve the string representation of the Ballerina class mapping the java.lang.Integer
Java class.
Return Type
- string - The
string
form of the Java object instance.
Fields
- Fields Included from * JObject
- jObj handle
- jObj handle - The
handle
field that stores the reference to thejava.lang.Integer
object.
testcontainers: Iterable
Ballerina class mapping for the Java java.lang.Iterable
interface.
Constructor
The init function of the Ballerina class mapping the java.lang.Iterable
Java interface.
init (handle obj)
- obj handle - The
handle
value containing the Java reference of the object.
toString
function toString() returns string
The function to retrieve the string representation of the Ballerina class mapping the java.lang.Iterable
Java interface.
Return Type
- string - The
string
form of the Java object instance.
Fields
- Fields Included from * JObject
- jObj handle
- jObj handle - The
handle
field that stores the reference to thejava.lang.Iterable
object.
testcontainers: JdbcDatabaseContainer
Ballerina class mapping for the Java org.testcontainers.containers.JdbcDatabaseContainer
class.
Constructor
The init function of the Ballerina class mapping the org.testcontainers.containers.JdbcDatabaseContainer
Java class.
init (handle obj)
- obj handle - The
handle
value containing the Java reference of the object.
toString
function toString() returns string
The function to retrieve the string representation of the Ballerina class mapping the org.testcontainers.containers.JdbcDatabaseContainer
Java class.
Return Type
- string - The
string
form of the Java object instance.
Fields
- Fields Included from * JObject
- jObj handle
- jObj handle - The
handle
field that stores the reference to theorg.testcontainers.containers.JdbcDatabaseContainer
object.
testcontainers: LazyFuture
Ballerina class mapping for the Java org.testcontainers.utility.LazyFuture
class.
Constructor
The init function of the Ballerina class mapping the org.testcontainers.utility.LazyFuture
Java class.
init (handle obj)
- obj handle - The
handle
value containing the Java reference of the object.
toString
function toString() returns string
The function to retrieve the string representation of the Ballerina class mapping the org.testcontainers.utility.LazyFuture
Java class.
Return Type
- string - The
string
form of the Java object instance.
Fields
- Fields Included from * JObject
- jObj handle
- jObj handle - The
handle
field that stores the reference to theorg.testcontainers.utility.LazyFuture
object.
testcontainers: LinkableContainer
Ballerina class mapping for the Java org.testcontainers.containers.traits.LinkableContainer
interface.
Constructor
The init function of the Ballerina class mapping the org.testcontainers.containers.traits.LinkableContainer
Java interface.
init (handle obj)
- obj handle - The
handle
value containing the Java reference of the object.
toString
function toString() returns string
The function to retrieve the string representation of the Ballerina class mapping the org.testcontainers.containers.traits.LinkableContainer
Java interface.
Return Type
- string - The
string
form of the Java object instance.
Fields
- Fields Included from * JObject
- jObj handle
- jObj handle - The
handle
field that stores the reference to theorg.testcontainers.containers.traits.LinkableContainer
object.
testcontainers: List
Ballerina class mapping for the Java java.util.List
interface.
Constructor
The init function of the Ballerina class mapping the java.util.List
Java interface.
init (handle obj)
- obj handle - The
handle
value containing the Java reference of the object.
toString
function toString() returns string
The function to retrieve the string representation of the Ballerina class mapping the java.util.List
Java interface.
Return Type
- string - The
string
form of the Java object instance.
Fields
- Fields Included from * JObject
- jObj handle
- jObj handle - The
handle
field that stores the reference to thejava.util.List
object.
testcontainers: Long
Ballerina class mapping for the Java java.lang.Long
class.
Constructor
The init function of the Ballerina class mapping the java.lang.Long
Java class.
init (handle obj)
- obj handle - The
handle
value containing the Java reference of the object.
toString
function toString() returns string
The function to retrieve the string representation of the Ballerina class mapping the java.lang.Long
Java class.
Return Type
- string - The
string
form of the Java object instance.
Fields
- Fields Included from * JObject
- jObj handle
- jObj handle - The
handle
field that stores the reference to thejava.lang.Long
object.
testcontainers: Map
Ballerina class mapping for the Java java.util.Map
interface.
Constructor
The init function of the Ballerina class mapping the java.util.Map
Java interface.
init (handle obj)
- obj handle - The
handle
value containing the Java reference of the object.
toString
function toString() returns string
The function to retrieve the string representation of the Ballerina class mapping the java.util.Map
Java interface.
Return Type
- string - The
string
form of the Java object instance.
Fields
- Fields Included from * JObject
- jObj handle
- jObj handle - The
handle
field that stores the reference to thejava.util.Map
object.
testcontainers: MountableFile
Ballerina class mapping for the Java org.testcontainers.utility.MountableFile
class.
Constructor
The init function of the Ballerina class mapping the org.testcontainers.utility.MountableFile
Java class.
init (handle obj)
- obj handle - The
handle
value containing the Java reference of the object.
toString
function toString() returns string
The function to retrieve the string representation of the Ballerina class mapping the org.testcontainers.utility.MountableFile
Java class.
Return Type
- string - The
string
form of the Java object instance.
Fields
- Fields Included from * JObject
- jObj handle
- jObj handle - The
handle
field that stores the reference to theorg.testcontainers.utility.MountableFile
object.
testcontainers: Network
Ballerina class mapping for the Java org.testcontainers.containers.Network
interface.
Constructor
The init function of the Ballerina class mapping the org.testcontainers.containers.Network
Java interface.
init (handle obj)
- obj handle - The
handle
value containing the Java reference of the object.
toString
function toString() returns string
The function to retrieve the string representation of the Ballerina class mapping the org.testcontainers.containers.Network
Java interface.
Return Type
- string - The
string
form of the Java object instance.
Fields
- Fields Included from * JObject
- jObj handle
- jObj handle - The
handle
field that stores the reference to theorg.testcontainers.containers.Network
object.
testcontainers: Number
Ballerina class mapping for the Java java.lang.Number
class.
Constructor
The init function of the Ballerina class mapping the java.lang.Number
Java class.
init (handle obj)
- obj handle - The
handle
value containing the Java reference of the object.
toString
function toString() returns string
The function to retrieve the string representation of the Ballerina class mapping the java.lang.Number
Java class.
Return Type
- string - The
string
form of the Java object instance.
Fields
- Fields Included from * JObject
- jObj handle
- jObj handle - The
handle
field that stores the reference to thejava.lang.Number
object.
testcontainers: Object
Ballerina class mapping for the Java java.lang.Object
class.
Constructor
The init function of the Ballerina class mapping the java.lang.Object
Java class.
init (handle obj)
- obj handle - The
handle
value containing the Java reference of the object.
toString
function toString() returns string
The function to retrieve the string representation of the Ballerina class mapping the java.lang.Object
Java class.
Return Type
- string - The
string
form of the Java object instance.
Fields
- Fields Included from * JObject
- jObj handle
- jObj handle - The
handle
field that stores the reference to thejava.lang.Object
object.
testcontainers: OutputType
Ballerina class mapping for the Java org.testcontainers.containers.output.OutputFrame$OutputType
class.
Constructor
The init function of the Ballerina class mapping the org.testcontainers.containers.output.OutputFrame$OutputType
Java class.
init (handle obj)
- obj handle - The
handle
value containing the Java reference of the object.
toString
function toString() returns string
The function to retrieve the string representation of the Ballerina class mapping the org.testcontainers.containers.output.OutputFrame$OutputType
Java class.
Return Type
- string - The
string
form of the Java object instance.
Fields
- Fields Included from * JObject
- jObj handle
- jObj handle - The
handle
field that stores the reference to theorg.testcontainers.containers.output.OutputFrame$OutputType
object.
testcontainers: PostgreSQLContainer
Ballerina class mapping for the Java org.testcontainers.containers.PostgreSQLContainer
class.
Constructor
The init function of the Ballerina class mapping the org.testcontainers.containers.PostgreSQLContainer
Java class.
init (handle obj)
- obj handle - The
handle
value containing the Java reference of the object.
toString
function toString() returns string
The function to retrieve the string representation of the Ballerina class mapping the org.testcontainers.containers.PostgreSQLContainer
Java class.
Return Type
- string - The
string
form of the Java object instance.
addEnv
The function that maps to the addEnv
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 string - The
string
value required to map with the Java method parameter.
- arg1 string - The
string
value required to map with the Java method parameter.
addExposedPort
function addExposedPort(Integer arg0)
The function that maps to the addExposedPort
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 Integer - The
Integer
value required to map with the Java method parameter.
addExposedPorts
The function that maps to the addExposedPorts
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 int[] - The
int[]
value required to map with the Java method parameter.
Return Type
- error? - The
error?
value returning from the Java mapping.
addFileSystemBind
The function that maps to the addFileSystemBind
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 string - The
string
value required to map with the Java method parameter.
- arg1 string - The
string
value required to map with the Java method parameter.
- arg2 BindMode - The
BindMode
value required to map with the Java method parameter.
addFileSystemBind2
function addFileSystemBind2(string arg0, string arg1, BindMode arg2, SelinuxContext arg3)
The function that maps to the addFileSystemBind
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 string - The
string
value required to map with the Java method parameter.
- arg1 string - The
string
value required to map with the Java method parameter.
- arg2 BindMode - The
BindMode
value required to map with the Java method parameter.
- arg3 SelinuxContext - The
SelinuxContext
value required to map with the Java method parameter.
addLink
function addLink(LinkableContainer arg0, string arg1)
The function that maps to the addLink
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 LinkableContainer - The
LinkableContainer
value required to map with the Java method parameter.
- arg1 string - The
string
value required to map with the Java method parameter.
addParameter
The function that maps to the addParameter
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 string - The
string
value required to map with the Java method parameter.
- arg1 string - The
string
value required to map with the Java method parameter.
apply
function apply(Statement arg0, Description arg1) returns Statement
The function that maps to the apply
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 Statement - The
Statement
value required to map with the Java method parameter.
- arg1 Description - The
Description
value required to map with the Java method parameter.
Return Type
- Statement - The
Statement
value returning from the Java mapping.
close
function close()
The function that maps to the close
method of org.testcontainers.containers.PostgreSQLContainer
.
copyFileFromContainer
The function that maps to the copyFileFromContainer
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 string - The
string
value required to map with the Java method parameter.
- arg1 string - The
string
value required to map with the Java method parameter.
copyFileFromContainer2
function copyFileFromContainer2(string arg0, ThrowingFunction arg1) returns Object
The function that maps to the copyFileFromContainer
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 string - The
string
value required to map with the Java method parameter.
- arg1 ThrowingFunction - The
ThrowingFunction
value required to map with the Java method parameter.
Return Type
- Object - The
Object
value returning from the Java mapping.
copyFileToContainer
function copyFileToContainer(MountableFile arg0, string arg1)
The function that maps to the copyFileToContainer
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 MountableFile - The
MountableFile
value required to map with the Java method parameter.
- arg1 string - The
string
value required to map with the Java method parameter.
copyFileToContainer2
function copyFileToContainer2(Transferable arg0, string arg1)
The function that maps to the copyFileToContainer
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 Transferable - The
Transferable
value required to map with the Java method parameter.
- arg1 string - The
string
value required to map with the Java method parameter.
createConnection
function createConnection(string arg0) returns Connection|SQLException
The function that maps to the createConnection
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 string - The
string
value required to map with the Java method parameter.
Return Type
- Connection|SQLException - The
Connection
or theSQLException
value returning from the Java mapping.
dependsOn
function dependsOn(Iterable arg0) returns GenericContainer
The function that maps to the dependsOn
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 Iterable - The
Iterable
value required to map with the Java method parameter.
Return Type
- GenericContainer - The
GenericContainer
value returning from the Java mapping.
dependsOn2
function dependsOn2(List arg0) returns GenericContainer
The function that maps to the dependsOn
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 List - The
List
value required to map with the Java method parameter.
Return Type
- GenericContainer - The
GenericContainer
value returning from the Java mapping.
dependsOn3
function dependsOn3(Startable[] arg0) returns GenericContainer|error
The function that maps to the dependsOn
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 Startable[] - The
Startable[]
value required to map with the Java method parameter.
Return Type
- GenericContainer|error - The
GenericContainer
value returning from the Java mapping.
'equals
The function that maps to the equals
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 Object - The
Object
value required to map with the Java method parameter.
Return Type
- boolean - The
boolean
value returning from the Java mapping.
execInContainer
function execInContainer(Charset arg0, string[] arg1) returns ExecResult|IOException|error
The function that maps to the execInContainer
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 Charset - The
Charset
value required to map with the Java method parameter.
- arg1 string[] - The
string[]
value required to map with the Java method parameter.
Return Type
- ExecResult|IOException|error - The
ExecResult
or theIOException
value returning from the Java mapping.
execInContainer2
function execInContainer2(string[] arg0) returns ExecResult|IOException|error
The function that maps to the execInContainer
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 string[] - The
string[]
value required to map with the Java method parameter.
Return Type
- ExecResult|IOException|error - The
ExecResult
or theIOException
value returning from the Java mapping.
followOutput
function followOutput(Consumer arg0)
The function that maps to the followOutput
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 Consumer - The
Consumer
value required to map with the Java method parameter.
followOutput2
function followOutput2(Consumer arg0, OutputType[] arg1) returns error?
The function that maps to the followOutput
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 Consumer - The
Consumer
value required to map with the Java method parameter.
- arg1 OutputType[] - The
OutputType[]
value required to map with the Java method parameter.
Return Type
- error? - The
error?
value returning from the Java mapping.
getBinds
function getBinds() returns List
The function that maps to the getBinds
method of org.testcontainers.containers.PostgreSQLContainer
.
Return Type
- List - The
List
value returning from the Java mapping.
getBoundPortNumbers
function getBoundPortNumbers() returns List
The function that maps to the getBoundPortNumbers
method of org.testcontainers.containers.PostgreSQLContainer
.
Return Type
- List - The
List
value returning from the Java mapping.
getClass
function getClass() returns Class
The function that maps to the getClass
method of org.testcontainers.containers.PostgreSQLContainer
.
Return Type
- Class - The
Class
value returning from the Java mapping.
getCommandParts
The function that maps to the getCommandParts
method of org.testcontainers.containers.PostgreSQLContainer
.
getContainerId
function getContainerId() returns string?
The function that maps to the getContainerId
method of org.testcontainers.containers.PostgreSQLContainer
.
Return Type
- string? - The
string
value returning from the Java mapping.
getContainerInfo
function getContainerInfo() returns InspectContainerResponse
The function that maps to the getContainerInfo
method of org.testcontainers.containers.PostgreSQLContainer
.
Return Type
- InspectContainerResponse - The
InspectContainerResponse
value returning from the Java mapping.
getContainerIpAddress
function getContainerIpAddress() returns string?
The function that maps to the getContainerIpAddress
method of org.testcontainers.containers.PostgreSQLContainer
.
Return Type
- string? - The
string
value returning from the Java mapping.
getContainerName
function getContainerName() returns string?
The function that maps to the getContainerName
method of org.testcontainers.containers.PostgreSQLContainer
.
Return Type
- string? - The
string
value returning from the Java mapping.
getCopyToFileContainerPathMap
function getCopyToFileContainerPathMap() returns Map
The function that maps to the getCopyToFileContainerPathMap
method of org.testcontainers.containers.PostgreSQLContainer
.
Return Type
- Map - The
Map
value returning from the Java mapping.
getCreateContainerCmdModifiers
function getCreateContainerCmdModifiers() returns Set
The function that maps to the getCreateContainerCmdModifiers
method of org.testcontainers.containers.PostgreSQLContainer
.
Return Type
- Set - The
Set
value returning from the Java mapping.
getCurrentContainerInfo
function getCurrentContainerInfo() returns InspectContainerResponse
The function that maps to the getCurrentContainerInfo
method of org.testcontainers.containers.PostgreSQLContainer
.
Return Type
- InspectContainerResponse - The
InspectContainerResponse
value returning from the Java mapping.
getDatabaseName
function getDatabaseName() returns string?
The function that maps to the getDatabaseName
method of org.testcontainers.containers.PostgreSQLContainer
.
Return Type
- string? - The
string
value returning from the Java mapping.
getDependencies
function getDependencies() returns Set
The function that maps to the getDependencies
method of org.testcontainers.containers.PostgreSQLContainer
.
Return Type
- Set - The
Set
value returning from the Java mapping.
getDockerClient
function getDockerClient() returns DockerClient
The function that maps to the getDockerClient
method of org.testcontainers.containers.PostgreSQLContainer
.
Return Type
- DockerClient - The
DockerClient
value returning from the Java mapping.
getDockerImageName
function getDockerImageName() returns string?
The function that maps to the getDockerImageName
method of org.testcontainers.containers.PostgreSQLContainer
.
Return Type
- string? - The
string
value returning from the Java mapping.
getDriverClassName
function getDriverClassName() returns string?
The function that maps to the getDriverClassName
method of org.testcontainers.containers.PostgreSQLContainer
.
Return Type
- string? - The
string
value returning from the Java mapping.
getEnv
function getEnv() returns List
The function that maps to the getEnv
method of org.testcontainers.containers.PostgreSQLContainer
.
Return Type
- List - The
List
value returning from the Java mapping.
getEnvMap
function getEnvMap() returns Map
The function that maps to the getEnvMap
method of org.testcontainers.containers.PostgreSQLContainer
.
Return Type
- Map - The
Map
value returning from the Java mapping.
getExposedPorts
function getExposedPorts() returns List
The function that maps to the getExposedPorts
method of org.testcontainers.containers.PostgreSQLContainer
.
Return Type
- List - The
List
value returning from the Java mapping.
getExtraHosts
function getExtraHosts() returns List
The function that maps to the getExtraHosts
method of org.testcontainers.containers.PostgreSQLContainer
.
Return Type
- List - The
List
value returning from the Java mapping.
getFirstMappedPort
function getFirstMappedPort() returns Integer
The function that maps to the getFirstMappedPort
method of org.testcontainers.containers.PostgreSQLContainer
.
Return Type
- Integer - The
Integer
value returning from the Java mapping.
getHost
function getHost() returns string?
The function that maps to the getHost
method of org.testcontainers.containers.PostgreSQLContainer
.
Return Type
- string? - The
string
value returning from the Java mapping.
getImage
function getImage() returns RemoteDockerImage
The function that maps to the getImage
method of org.testcontainers.containers.PostgreSQLContainer
.
Return Type
- RemoteDockerImage - The
RemoteDockerImage
value returning from the Java mapping.
getIpAddress
function getIpAddress() returns string?
The function that maps to the getIpAddress
method of org.testcontainers.containers.PostgreSQLContainer
.
Return Type
- string? - The
string
value returning from the Java mapping.
getJdbcDriverInstance
function getJdbcDriverInstance() returns Driver
The function that maps to the getJdbcDriverInstance
method of org.testcontainers.containers.PostgreSQLContainer
.
Return Type
- Driver - The
Driver
value returning from the Java mapping.
getJdbcUrl
function getJdbcUrl() returns string?
The function that maps to the getJdbcUrl
method of org.testcontainers.containers.PostgreSQLContainer
.
Return Type
- string? - The
string
value returning from the Java mapping.
getLabels
function getLabels() returns Map
The function that maps to the getLabels
method of org.testcontainers.containers.PostgreSQLContainer
.
Return Type
- Map - The
Map
value returning from the Java mapping.
getLinkedContainers
function getLinkedContainers() returns Map
The function that maps to the getLinkedContainers
method of org.testcontainers.containers.PostgreSQLContainer
.
Return Type
- Map - The
Map
value returning from the Java mapping.
getLivenessCheckPortNumbers
function getLivenessCheckPortNumbers() returns Set
The function that maps to the getLivenessCheckPortNumbers
method of org.testcontainers.containers.PostgreSQLContainer
.
Return Type
- Set - The
Set
value returning from the Java mapping.
getLogConsumers
function getLogConsumers() returns List
The function that maps to the getLogConsumers
method of org.testcontainers.containers.PostgreSQLContainer
.
Return Type
- List - The
List
value returning from the Java mapping.
getLogs
function getLogs() returns string?
The function that maps to the getLogs
method of org.testcontainers.containers.PostgreSQLContainer
.
Return Type
- string? - The
string
value returning from the Java mapping.
getLogs2
function getLogs2(OutputType[] arg0) returns string?|error
The function that maps to the getLogs
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 OutputType[] - The
OutputType[]
value required to map with the Java method parameter.
getMappedPort
The function that maps to the getMappedPort
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 int - The
int
value required to map with the Java method parameter.
Return Type
- Integer - The
Integer
value returning from the Java mapping.
getNetwork
function getNetwork() returns Network
The function that maps to the getNetwork
method of org.testcontainers.containers.PostgreSQLContainer
.
Return Type
- Network - The
Network
value returning from the Java mapping.
getNetworkAliases
function getNetworkAliases() returns List
The function that maps to the getNetworkAliases
method of org.testcontainers.containers.PostgreSQLContainer
.
Return Type
- List - The
List
value returning from the Java mapping.
getNetworkMode
function getNetworkMode() returns string?
The function that maps to the getNetworkMode
method of org.testcontainers.containers.PostgreSQLContainer
.
Return Type
- string? - The
string
value returning from the Java mapping.
getPassword
function getPassword() returns string?
The function that maps to the getPassword
method of org.testcontainers.containers.PostgreSQLContainer
.
Return Type
- string? - The
string
value returning from the Java mapping.
getPortBindings
function getPortBindings() returns List
The function that maps to the getPortBindings
method of org.testcontainers.containers.PostgreSQLContainer
.
Return Type
- List - The
List
value returning from the Java mapping.
getShmSize
function getShmSize() returns Long
The function that maps to the getShmSize
method of org.testcontainers.containers.PostgreSQLContainer
.
Return Type
- Long - The
Long
value returning from the Java mapping.
getStartupAttempts
function getStartupAttempts() returns int
The function that maps to the getStartupAttempts
method of org.testcontainers.containers.PostgreSQLContainer
.
Return Type
- int - The
int
value returning from the Java mapping.
getStartupCheckStrategy
function getStartupCheckStrategy() returns StartupCheckStrategy
The function that maps to the getStartupCheckStrategy
method of org.testcontainers.containers.PostgreSQLContainer
.
Return Type
- StartupCheckStrategy - The
StartupCheckStrategy
value returning from the Java mapping.
getTestHostIpAddress
function getTestHostIpAddress() returns string?
The function that maps to the getTestHostIpAddress
method of org.testcontainers.containers.PostgreSQLContainer
.
Return Type
- string? - The
string
value returning from the Java mapping.
getTestQueryString
function getTestQueryString() returns string?
The function that maps to the getTestQueryString
method of org.testcontainers.containers.PostgreSQLContainer
.
Return Type
- string? - The
string
value returning from the Java mapping.
getTmpFsMapping
function getTmpFsMapping() returns Map
The function that maps to the getTmpFsMapping
method of org.testcontainers.containers.PostgreSQLContainer
.
Return Type
- Map - The
Map
value returning from the Java mapping.
getUsername
function getUsername() returns string?
The function that maps to the getUsername
method of org.testcontainers.containers.PostgreSQLContainer
.
Return Type
- string? - The
string
value returning from the Java mapping.
getVolumesFroms
function getVolumesFroms() returns List
The function that maps to the getVolumesFroms
method of org.testcontainers.containers.PostgreSQLContainer
.
Return Type
- List - The
List
value returning from the Java mapping.
getWorkingDirectory
function getWorkingDirectory() returns string?
The function that maps to the getWorkingDirectory
method of org.testcontainers.containers.PostgreSQLContainer
.
Return Type
- string? - The
string
value returning from the Java mapping.
hashCode
function hashCode() returns int
The function that maps to the hashCode
method of org.testcontainers.containers.PostgreSQLContainer
.
Return Type
- int - The
int
value returning from the Java mapping.
isCreated
function isCreated() returns boolean
The function that maps to the isCreated
method of org.testcontainers.containers.PostgreSQLContainer
.
Return Type
- boolean - The
boolean
value returning from the Java mapping.
isHealthy
function isHealthy() returns boolean
The function that maps to the isHealthy
method of org.testcontainers.containers.PostgreSQLContainer
.
Return Type
- boolean - The
boolean
value returning from the Java mapping.
isPrivilegedMode
function isPrivilegedMode() returns boolean
The function that maps to the isPrivilegedMode
method of org.testcontainers.containers.PostgreSQLContainer
.
Return Type
- boolean - The
boolean
value returning from the Java mapping.
isRunning
function isRunning() returns boolean
The function that maps to the isRunning
method of org.testcontainers.containers.PostgreSQLContainer
.
Return Type
- boolean - The
boolean
value returning from the Java mapping.
isShouldBeReused
function isShouldBeReused() returns boolean
The function that maps to the isShouldBeReused
method of org.testcontainers.containers.PostgreSQLContainer
.
Return Type
- boolean - The
boolean
value returning from the Java mapping.
notify
function notify()
The function that maps to the notify
method of org.testcontainers.containers.PostgreSQLContainer
.
notifyAll
function notifyAll()
The function that maps to the notifyAll
method of org.testcontainers.containers.PostgreSQLContainer
.
self
function self() returns Container
The function that maps to the self
method of org.testcontainers.containers.PostgreSQLContainer
.
Return Type
- Container - The
Container
value returning from the Java mapping.
setBinds
function setBinds(List arg0)
The function that maps to the setBinds
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 List - The
List
value required to map with the Java method parameter.
setCommand
function setCommand(string arg0)
The function that maps to the setCommand
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 string - The
string
value required to map with the Java method parameter.
setCommand2
The function that maps to the setCommand
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 string[] - The
string[]
value required to map with the Java method parameter.
Return Type
- error? - The
error?
value returning from the Java mapping.
setCommandParts
The function that maps to the setCommandParts
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 string[] - The
string[]
value required to map with the Java method parameter.
Return Type
- error? - The
error?
value returning from the Java mapping.
setCopyToFileContainerPathMap
function setCopyToFileContainerPathMap(Map arg0)
The function that maps to the setCopyToFileContainerPathMap
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 Map - The
Map
value required to map with the Java method parameter.
setDockerImageName
function setDockerImageName(string arg0)
The function that maps to the setDockerImageName
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 string - The
string
value required to map with the Java method parameter.
setEnv
function setEnv(List arg0)
The function that maps to the setEnv
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 List - The
List
value required to map with the Java method parameter.
setExposedPorts
function setExposedPorts(List arg0)
The function that maps to the setExposedPorts
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 List - The
List
value required to map with the Java method parameter.
setExtraHosts
function setExtraHosts(List arg0)
The function that maps to the setExtraHosts
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 List - The
List
value required to map with the Java method parameter.
setImage
function setImage(Future arg0)
The function that maps to the setImage
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 Future - The
Future
value required to map with the Java method parameter.
setLabels
function setLabels(Map arg0)
The function that maps to the setLabels
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 Map - The
Map
value required to map with the Java method parameter.
setLinkedContainers
function setLinkedContainers(Map arg0)
The function that maps to the setLinkedContainers
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 Map - The
Map
value required to map with the Java method parameter.
setLogConsumers
function setLogConsumers(List arg0)
The function that maps to the setLogConsumers
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 List - The
List
value required to map with the Java method parameter.
setNetwork
function setNetwork(Network arg0)
The function that maps to the setNetwork
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 Network - The
Network
value required to map with the Java method parameter.
setNetworkAliases
function setNetworkAliases(List arg0)
The function that maps to the setNetworkAliases
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 List - The
List
value required to map with the Java method parameter.
setNetworkMode
function setNetworkMode(string arg0)
The function that maps to the setNetworkMode
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 string - The
string
value required to map with the Java method parameter.
setParameters
function setParameters(Map arg0)
The function that maps to the setParameters
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 Map - The
Map
value required to map with the Java method parameter.
setPortBindings
function setPortBindings(List arg0)
The function that maps to the setPortBindings
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 List - The
List
value required to map with the Java method parameter.
setPrivilegedMode
function setPrivilegedMode(boolean arg0)
The function that maps to the setPrivilegedMode
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 boolean - The
boolean
value required to map with the Java method parameter.
setShmSize
function setShmSize(Long arg0)
The function that maps to the setShmSize
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 Long - The
Long
value required to map with the Java method parameter.
setStartupAttempts
function setStartupAttempts(int arg0)
The function that maps to the setStartupAttempts
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 int - The
int
value required to map with the Java method parameter.
setStartupCheckStrategy
function setStartupCheckStrategy(StartupCheckStrategy arg0)
The function that maps to the setStartupCheckStrategy
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 StartupCheckStrategy - The
StartupCheckStrategy
value required to map with the Java method parameter.
setTmpFsMapping
function setTmpFsMapping(Map arg0)
The function that maps to the setTmpFsMapping
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 Map - The
Map
value required to map with the Java method parameter.
setVolumesFroms
function setVolumesFroms(List arg0)
The function that maps to the setVolumesFroms
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 List - The
List
value required to map with the Java method parameter.
setWaitStrategy
function setWaitStrategy(WaitStrategy arg0)
The function that maps to the setWaitStrategy
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 WaitStrategy - The
WaitStrategy
value required to map with the Java method parameter.
setWorkingDirectory
function setWorkingDirectory(string arg0)
The function that maps to the setWorkingDirectory
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 string - The
string
value required to map with the Java method parameter.
'start
function 'start()
The function that maps to the start
method of org.testcontainers.containers.PostgreSQLContainer
.
stop
function stop()
The function that maps to the stop
method of org.testcontainers.containers.PostgreSQLContainer
.
'wait
function 'wait() returns InterruptedException?
The function that maps to the wait
method of org.testcontainers.containers.PostgreSQLContainer
.
Return Type
- InterruptedException? - The
InterruptedException
value returning from the Java mapping.
wait2
function wait2(int arg0) returns InterruptedException?
The function that maps to the wait
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 int - The
int
value required to map with the Java method parameter.
Return Type
- InterruptedException? - The
InterruptedException
value returning from the Java mapping.
wait3
function wait3(int arg0, int arg1) returns InterruptedException?
The function that maps to the wait
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 int - The
int
value required to map with the Java method parameter.
- arg1 int - The
int
value required to map with the Java method parameter.
Return Type
- InterruptedException? - The
InterruptedException
value returning from the Java mapping.
waitingFor
function waitingFor(WaitStrategy arg0) returns GenericContainer
The function that maps to the waitingFor
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 WaitStrategy - The
WaitStrategy
value required to map with the Java method parameter.
Return Type
- GenericContainer - The
GenericContainer
value returning from the Java mapping.
withClasspathResourceMapping
function withClasspathResourceMapping(string arg0, string arg1, BindMode arg2) returns GenericContainer
The function that maps to the withClasspathResourceMapping
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 string - The
string
value required to map with the Java method parameter.
- arg1 string - The
string
value required to map with the Java method parameter.
- arg2 BindMode - The
BindMode
value required to map with the Java method parameter.
Return Type
- GenericContainer - The
GenericContainer
value returning from the Java mapping.
withClasspathResourceMapping2
function withClasspathResourceMapping2(string arg0, string arg1, BindMode arg2, SelinuxContext arg3) returns GenericContainer
The function that maps to the withClasspathResourceMapping
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 string - The
string
value required to map with the Java method parameter.
- arg1 string - The
string
value required to map with the Java method parameter.
- arg2 BindMode - The
BindMode
value required to map with the Java method parameter.
- arg3 SelinuxContext - The
SelinuxContext
value required to map with the Java method parameter.
Return Type
- GenericContainer - The
GenericContainer
value returning from the Java mapping.
withCommand
function withCommand(string arg0) returns GenericContainer
The function that maps to the withCommand
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 string - The
string
value required to map with the Java method parameter.
Return Type
- GenericContainer - The
GenericContainer
value returning from the Java mapping.
withCommand2
function withCommand2(string[] arg0) returns GenericContainer|error
The function that maps to the withCommand
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 string[] - The
string[]
value required to map with the Java method parameter.
Return Type
- GenericContainer|error - The
GenericContainer
value returning from the Java mapping.
withConnectTimeoutSeconds
function withConnectTimeoutSeconds(int arg0) returns JdbcDatabaseContainer
The function that maps to the withConnectTimeoutSeconds
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 int - The
int
value required to map with the Java method parameter.
Return Type
- JdbcDatabaseContainer - The
JdbcDatabaseContainer
value returning from the Java mapping.
withCopyFileToContainer
function withCopyFileToContainer(MountableFile arg0, string arg1) returns GenericContainer
The function that maps to the withCopyFileToContainer
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 MountableFile - The
MountableFile
value required to map with the Java method parameter.
- arg1 string - The
string
value required to map with the Java method parameter.
Return Type
- GenericContainer - The
GenericContainer
value returning from the Java mapping.
withCreateContainerCmdModifier
function withCreateContainerCmdModifier(Consumer arg0) returns GenericContainer
The function that maps to the withCreateContainerCmdModifier
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 Consumer - The
Consumer
value required to map with the Java method parameter.
Return Type
- GenericContainer - The
GenericContainer
value returning from the Java mapping.
withDatabaseName
function withDatabaseName(string arg0) returns PostgreSQLContainer
The function that maps to the withDatabaseName
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 string - The
string
value required to map with the Java method parameter.
Return Type
- PostgreSQLContainer - The
PostgreSQLContainer
value returning from the Java mapping.
withEnv
function withEnv(Map arg0) returns GenericContainer
The function that maps to the withEnv
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 Map - The
Map
value required to map with the Java method parameter.
Return Type
- GenericContainer - The
GenericContainer
value returning from the Java mapping.
withEnv2
The function that maps to the withEnv
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 string - The
string
value required to map with the Java method parameter.
- arg1 Function - The
Function
value required to map with the Java method parameter.
Return Type
- Container - The
Container
value returning from the Java mapping.
withEnv3
function withEnv3(string arg0, string arg1) returns GenericContainer
The function that maps to the withEnv
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 string - The
string
value required to map with the Java method parameter.
- arg1 string - The
string
value required to map with the Java method parameter.
Return Type
- GenericContainer - The
GenericContainer
value returning from the Java mapping.
withExposedPorts
function withExposedPorts(Integer[] arg0) returns GenericContainer|error
The function that maps to the withExposedPorts
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 Integer[] - The
Integer[]
value required to map with the Java method parameter.
Return Type
- GenericContainer|error - The
GenericContainer
value returning from the Java mapping.
withExtraHost
function withExtraHost(string arg0, string arg1) returns GenericContainer
The function that maps to the withExtraHost
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 string - The
string
value required to map with the Java method parameter.
- arg1 string - The
string
value required to map with the Java method parameter.
Return Type
- GenericContainer - The
GenericContainer
value returning from the Java mapping.
withFileSystemBind
The function that maps to the withFileSystemBind
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 string - The
string
value required to map with the Java method parameter.
- arg1 string - The
string
value required to map with the Java method parameter.
Return Type
- Container - The
Container
value returning from the Java mapping.
withFileSystemBind2
function withFileSystemBind2(string arg0, string arg1, BindMode arg2) returns GenericContainer
The function that maps to the withFileSystemBind
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 string - The
string
value required to map with the Java method parameter.
- arg1 string - The
string
value required to map with the Java method parameter.
- arg2 BindMode - The
BindMode
value required to map with the Java method parameter.
Return Type
- GenericContainer - The
GenericContainer
value returning from the Java mapping.
withImagePullPolicy
function withImagePullPolicy(ImagePullPolicy arg0) returns GenericContainer
The function that maps to the withImagePullPolicy
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 ImagePullPolicy - The
ImagePullPolicy
value required to map with the Java method parameter.
Return Type
- GenericContainer - The
GenericContainer
value returning from the Java mapping.
withInitScript
function withInitScript(string arg0) returns JdbcDatabaseContainer
The function that maps to the withInitScript
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 string - The
string
value required to map with the Java method parameter.
Return Type
- JdbcDatabaseContainer - The
JdbcDatabaseContainer
value returning from the Java mapping.
withLabel
function withLabel(string arg0, string arg1) returns GenericContainer
The function that maps to the withLabel
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 string - The
string
value required to map with the Java method parameter.
- arg1 string - The
string
value required to map with the Java method parameter.
Return Type
- GenericContainer - The
GenericContainer
value returning from the Java mapping.
withLabels
function withLabels(Map arg0) returns GenericContainer
The function that maps to the withLabels
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 Map - The
Map
value required to map with the Java method parameter.
Return Type
- GenericContainer - The
GenericContainer
value returning from the Java mapping.
withLogConsumer
function withLogConsumer(Consumer arg0) returns GenericContainer
The function that maps to the withLogConsumer
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 Consumer - The
Consumer
value required to map with the Java method parameter.
Return Type
- GenericContainer - The
GenericContainer
value returning from the Java mapping.
withMinimumRunningDuration
function withMinimumRunningDuration(Duration arg0) returns GenericContainer
The function that maps to the withMinimumRunningDuration
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 Duration - The
Duration
value required to map with the Java method parameter.
Return Type
- GenericContainer - The
GenericContainer
value returning from the Java mapping.
withNetwork
function withNetwork(Network arg0) returns GenericContainer
The function that maps to the withNetwork
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 Network - The
Network
value required to map with the Java method parameter.
Return Type
- GenericContainer - The
GenericContainer
value returning from the Java mapping.
withNetworkAliases
function withNetworkAliases(string[] arg0) returns GenericContainer|error
The function that maps to the withNetworkAliases
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 string[] - The
string[]
value required to map with the Java method parameter.
Return Type
- GenericContainer|error - The
GenericContainer
value returning from the Java mapping.
withNetworkMode
function withNetworkMode(string arg0) returns GenericContainer
The function that maps to the withNetworkMode
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 string - The
string
value required to map with the Java method parameter.
Return Type
- GenericContainer - The
GenericContainer
value returning from the Java mapping.
withPassword
function withPassword(string arg0) returns PostgreSQLContainer
The function that maps to the withPassword
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 string - The
string
value required to map with the Java method parameter.
Return Type
- PostgreSQLContainer - The
PostgreSQLContainer
value returning from the Java mapping.
withPrivilegedMode
function withPrivilegedMode(boolean arg0) returns GenericContainer
The function that maps to the withPrivilegedMode
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 boolean - The
boolean
value required to map with the Java method parameter.
Return Type
- GenericContainer - The
GenericContainer
value returning from the Java mapping.
withReuse
function withReuse(boolean arg0) returns GenericContainer
The function that maps to the withReuse
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 boolean - The
boolean
value required to map with the Java method parameter.
Return Type
- GenericContainer - The
GenericContainer
value returning from the Java mapping.
withSharedMemorySize
function withSharedMemorySize(Long arg0) returns GenericContainer
The function that maps to the withSharedMemorySize
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 Long - The
Long
value required to map with the Java method parameter.
Return Type
- GenericContainer - The
GenericContainer
value returning from the Java mapping.
withStartupAttempts
function withStartupAttempts(int arg0) returns GenericContainer
The function that maps to the withStartupAttempts
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 int - The
int
value required to map with the Java method parameter.
Return Type
- GenericContainer - The
GenericContainer
value returning from the Java mapping.
withStartupCheckStrategy
function withStartupCheckStrategy(StartupCheckStrategy arg0) returns GenericContainer
The function that maps to the withStartupCheckStrategy
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 StartupCheckStrategy - The
StartupCheckStrategy
value required to map with the Java method parameter.
Return Type
- GenericContainer - The
GenericContainer
value returning from the Java mapping.
withStartupTimeout
function withStartupTimeout(Duration arg0) returns GenericContainer
The function that maps to the withStartupTimeout
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 Duration - The
Duration
value required to map with the Java method parameter.
Return Type
- GenericContainer - The
GenericContainer
value returning from the Java mapping.
withStartupTimeoutSeconds
function withStartupTimeoutSeconds(int arg0) returns JdbcDatabaseContainer
The function that maps to the withStartupTimeoutSeconds
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 int - The
int
value required to map with the Java method parameter.
Return Type
- JdbcDatabaseContainer - The
JdbcDatabaseContainer
value returning from the Java mapping.
withTmpFs
function withTmpFs(Map arg0) returns GenericContainer
The function that maps to the withTmpFs
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 Map - The
Map
value required to map with the Java method parameter.
Return Type
- GenericContainer - The
GenericContainer
value returning from the Java mapping.
withUrlParam
function withUrlParam(string arg0, string arg1) returns JdbcDatabaseContainer
The function that maps to the withUrlParam
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 string - The
string
value required to map with the Java method parameter.
- arg1 string - The
string
value required to map with the Java method parameter.
Return Type
- JdbcDatabaseContainer - The
JdbcDatabaseContainer
value returning from the Java mapping.
withUsername
function withUsername(string arg0) returns PostgreSQLContainer
The function that maps to the withUsername
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 string - The
string
value required to map with the Java method parameter.
Return Type
- PostgreSQLContainer - The
PostgreSQLContainer
value returning from the Java mapping.
withVolumesFrom
function withVolumesFrom(Container arg0, BindMode arg1) returns GenericContainer
The function that maps to the withVolumesFrom
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 Container - The
Container
value required to map with the Java method parameter.
- arg1 BindMode - The
BindMode
value required to map with the Java method parameter.
Return Type
- GenericContainer - The
GenericContainer
value returning from the Java mapping.
withWorkingDirectory
function withWorkingDirectory(string arg0) returns GenericContainer
The function that maps to the withWorkingDirectory
method of org.testcontainers.containers.PostgreSQLContainer
.
Parameters
- arg0 string - The
string
value required to map with the Java method parameter.
Return Type
- GenericContainer - The
GenericContainer
value returning from the Java mapping.
Fields
- Fields Included from * JObject
- jObj handle
- Fields Included from * JdbcDatabaseContainer
- jObj handle
- jObj handle - The
handle
field that stores the reference to theorg.testcontainers.containers.PostgreSQLContainer
object.
testcontainers: RemoteDockerImage
Ballerina class mapping for the Java org.testcontainers.images.RemoteDockerImage
class.
Constructor
The init function of the Ballerina class mapping the org.testcontainers.images.RemoteDockerImage
Java class.
init (handle obj)
- obj handle - The
handle
value containing the Java reference of the object.
toString
function toString() returns string
The function to retrieve the string representation of the Ballerina class mapping the org.testcontainers.images.RemoteDockerImage
Java class.
Return Type
- string - The
string
form of the Java object instance.
Fields
- Fields Included from * JObject
- jObj handle
- jObj handle - The
handle
field that stores the reference to theorg.testcontainers.images.RemoteDockerImage
object.
testcontainers: SelinuxContext
Ballerina class mapping for the Java org.testcontainers.containers.SelinuxContext
class.
Constructor
The init function of the Ballerina class mapping the org.testcontainers.containers.SelinuxContext
Java class.
init (handle obj)
- obj handle - The
handle
value containing the Java reference of the object.
toString
function toString() returns string
The function to retrieve the string representation of the Ballerina class mapping the org.testcontainers.containers.SelinuxContext
Java class.
Return Type
- string - The
string
form of the Java object instance.
Fields
- Fields Included from * JObject
- jObj handle
- jObj handle - The
handle
field that stores the reference to theorg.testcontainers.containers.SelinuxContext
object.
testcontainers: Set
Ballerina class mapping for the Java java.util.Set
interface.
Constructor
The init function of the Ballerina class mapping the java.util.Set
Java interface.
init (handle obj)
- obj handle - The
handle
value containing the Java reference of the object.
toString
function toString() returns string
The function to retrieve the string representation of the Ballerina class mapping the java.util.Set
Java interface.
Return Type
- string - The
string
form of the Java object instance.
Fields
- Fields Included from * JObject
- jObj handle
- jObj handle - The
handle
field that stores the reference to thejava.util.Set
object.
testcontainers: Startable
Ballerina class mapping for the Java org.testcontainers.lifecycle.Startable
interface.
Constructor
The init function of the Ballerina class mapping the org.testcontainers.lifecycle.Startable
Java interface.
init (handle obj)
- obj handle - The
handle
value containing the Java reference of the object.
toString
function toString() returns string
The function to retrieve the string representation of the Ballerina class mapping the org.testcontainers.lifecycle.Startable
Java interface.
Return Type
- string - The
string
form of the Java object instance.
Fields
- Fields Included from * JObject
- jObj handle
- jObj handle - The
handle
field that stores the reference to theorg.testcontainers.lifecycle.Startable
object.
testcontainers: StartupCheckStrategy
Ballerina class mapping for the Java org.testcontainers.containers.startupcheck.StartupCheckStrategy
class.
Constructor
The init function of the Ballerina class mapping the org.testcontainers.containers.startupcheck.StartupCheckStrategy
Java class.
init (handle obj)
- obj handle - The
handle
value containing the Java reference of the object.
toString
function toString() returns string
The function to retrieve the string representation of the Ballerina class mapping the org.testcontainers.containers.startupcheck.StartupCheckStrategy
Java class.
Return Type
- string - The
string
form of the Java object instance.
Fields
- Fields Included from * JObject
- jObj handle
- jObj handle - The
handle
field that stores the reference to theorg.testcontainers.containers.startupcheck.StartupCheckStrategy
object.
testcontainers: Statement
Ballerina class mapping for the Java org.junit.runners.model.Statement
class.
Constructor
The init function of the Ballerina class mapping the org.junit.runners.model.Statement
Java class.
init (handle obj)
- obj handle - The
handle
value containing the Java reference of the object.
toString
function toString() returns string
The function to retrieve the string representation of the Ballerina class mapping the org.junit.runners.model.Statement
Java class.
Return Type
- string - The
string
form of the Java object instance.
Fields
- Fields Included from * JObject
- jObj handle
- jObj handle - The
handle
field that stores the reference to theorg.junit.runners.model.Statement
object.
testcontainers: ThrowingFunction
Ballerina class mapping for the Java org.testcontainers.utility.ThrowingFunction
interface.
Constructor
The init function of the Ballerina class mapping the org.testcontainers.utility.ThrowingFunction
Java interface.
init (handle obj)
- obj handle - The
handle
value containing the Java reference of the object.
toString
function toString() returns string
The function to retrieve the string representation of the Ballerina class mapping the org.testcontainers.utility.ThrowingFunction
Java interface.
Return Type
- string - The
string
form of the Java object instance.
Fields
- Fields Included from * JObject
- jObj handle
- jObj handle - The
handle
field that stores the reference to theorg.testcontainers.utility.ThrowingFunction
object.
testcontainers: Transferable
Ballerina class mapping for the Java org.testcontainers.images.builder.Transferable
interface.
Constructor
The init function of the Ballerina class mapping the org.testcontainers.images.builder.Transferable
Java interface.
init (handle obj)
- obj handle - The
handle
value containing the Java reference of the object.
toString
function toString() returns string
The function to retrieve the string representation of the Ballerina class mapping the org.testcontainers.images.builder.Transferable
Java interface.
Return Type
- string - The
string
form of the Java object instance.
Fields
- Fields Included from * JObject
- jObj handle
- jObj handle - The
handle
field that stores the reference to theorg.testcontainers.images.builder.Transferable
object.
testcontainers: WaitStrategy
Ballerina class mapping for the Java org.testcontainers.containers.wait.strategy.WaitStrategy
interface.
Constructor
The init function of the Ballerina class mapping the org.testcontainers.containers.wait.strategy.WaitStrategy
Java interface.
init (handle obj)
- obj handle - The
handle
value containing the Java reference of the object.
toString
function toString() returns string
The function to retrieve the string representation of the Ballerina class mapping the org.testcontainers.containers.wait.strategy.WaitStrategy
Java interface.
Return Type
- string - The
string
form of the Java object instance.
Fields
- Fields Included from * JObject
- jObj handle
- jObj handle - The
handle
field that stores the reference to theorg.testcontainers.containers.wait.strategy.WaitStrategy
object.
Constants
Errors
testcontainers: InterruptedException
testcontainers: IOException
testcontainers: SQLException
Import
import laf/testcontainers;
Metadata
Released date: almost 3 years ago
Version: 1.15.3002
License: Apache-2.0
Compatibility
Platform: java11
Ballerina version: slalpha5
Pull count
Total: 11
Current verison: 0
Weekly downloads
Keywords
ballerina
test
testcontainers
containers
Contributors
Dependencies