Class DockerComposeRule

  • All Implemented Interfaces:
    org.junit.rules.TestRule

    @Immutable
    public abstract class DockerComposeRule
    extends com.palantir.docker.compose.DockerComposeManager
    implements org.junit.rules.TestRule
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  DockerComposeRule.Builder  
      • Nested classes/interfaces inherited from class com.palantir.docker.compose.DockerComposeManager

        com.palantir.docker.compose.DockerComposeManager.BuilderExtensions<TSelf extends com.palantir.docker.compose.DockerComposeManager.BuilderExtensions<TSelf>>
    • Field Summary

      • Fields inherited from class com.palantir.docker.compose.DockerComposeManager

        DEFAULT_RETRY_ATTEMPTS, DEFAULT_TIMEOUT
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.junit.runners.model.Statement apply​(org.junit.runners.model.Statement base, org.junit.runner.Description description)  
      static DockerComposeRule.Builder builder()  
      • Methods inherited from class com.palantir.docker.compose.DockerComposeManager

        after, before, clusterWaits, containers, docker, dockerCompose, dockerComposeExecutable, dockerExecutable, emitEventsFor, eventConsumers, exec, files, hostNetworkedPort, logCollector, machine, nativeServiceHealthCheckTimeout, projectName, pullOnStartup, removeConflictingContainersOnStartup, retryAttempts, run, setDescription, shutdownStrategy, useDockerComposeV2
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DockerComposeRule

        public DockerComposeRule()
    • Method Detail

      • apply

        public org.junit.runners.model.Statement apply​(org.junit.runners.model.Statement base,
                                                       org.junit.runner.Description description)
        Specified by:
        apply in interface org.junit.rules.TestRule