Class LocalDynamoDBContainer.Builder

java.lang.Object
io.ebean.test.containers.LocalDynamoDBContainer.Builder
All Implemented Interfaces:
ContainerBuilder<LocalDynamoDBContainer,LocalDynamoDBContainer.Builder>
Enclosing class:
LocalDynamoDBContainer

public static class LocalDynamoDBContainer.Builder extends Object
  • Field Details

    • platform

      protected final String platform
      The database platform.

      Expected to be one of 'postgres','mysql', 'oracle' or 'sqlserver'.

    • containerName

      protected String containerName
      Container name.
    • host

      protected String host
      The host name. When running in Docker this is often set to 172.17.0.1invalid input: '<'/code.
    • port

      protected int port
      The exposed port.
    • internalPort

      protected int internalPort
      The internal port.
    • adminPort

      protected int adminPort
      The exposed port.
    • adminInternalPort

      protected int adminInternalPort
      The internal port.
    • mirror

      protected String mirror
      Define a mirror for images to use with CI builds.
    • image

      protected String image
      Image name.
    • startMode

      protected StartMode startMode
      The mode used when starting (create, dropCreate, container [only]).
    • shutdownMode

      protected StopMode shutdownMode
      By default, via JVM shutdown hook stop and remove the container unless there is a ~/.ebean/ignore-docker-shutdown marker file.
    • maxReadyAttempts

      protected int maxReadyAttempts
      Maximum number of attempts to find the 'database ready to accept connections' log message in the container.

      100 attempts equates to 10 seconds.

    • docker

      protected String docker
      Docker command.
    • version

      protected final String version
  • Method Details