Class DockerComposeSpec

  • All Implemented Interfaces:
    io.github.gmazzo.docker.compose.DockerComposeCreateSettings , io.github.gmazzo.docker.compose.DockerComposeSettings , org.gradle.api.Named

    
    public abstract class DockerComposeSpec
     implements Named, DockerComposeSettings
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Unit bindTo(TaskProvider<?> task) Binds buildService to the given task as a BuildService and register the docker-compose file as org.gradle.api.tasks.TaskInputs.filesOptionally, if task supports JavaForkOptions also exposes its DockerComposeService.containers as JavaForkOptions.systemProperties
      final Unit bindTo(Task task) Binds buildService to the given task as a BuildService and register the docker-compose file as org.gradle.api.tasks.TaskInputs.filesOptionally, if task supports JavaForkOptions also exposes its DockerComposeService.containers as JavaForkOptions.systemProperties
      • Methods inherited from class io.github.gmazzo.docker.compose.DockerComposeSettings

        getKeepContainersRunning, getOptionsDown, getOptionsUp, getPrintLogs, getPrintPortMappings, getWaitForTCPPorts, waitForTCPPorts
      • Methods inherited from class io.github.gmazzo.docker.compose.DockerComposeCreateSettings

        composeFile, getComposeFile, getOptionsCreate, getProjectName, getWorkingDirectory
      • Methods inherited from class org.gradle.api.Named

        getName
      • Methods inherited from class java.lang.Object

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

      • DockerComposeSpec

        DockerComposeSpec()
    • Method Detail

      • bindTo

         final Unit bindTo(TaskProvider<?> task)

        Binds buildService to the given task as a BuildService and register the docker-compose file as org.gradle.api.tasks.TaskInputs.files

        Optionally, if task supports JavaForkOptions also exposes its DockerComposeService.containers as JavaForkOptions.systemProperties

      • bindTo

         final Unit bindTo(Task task)

        Binds buildService to the given task as a BuildService and register the docker-compose file as org.gradle.api.tasks.TaskInputs.files

        Optionally, if task supports JavaForkOptions also exposes its DockerComposeService.containers as JavaForkOptions.systemProperties