Package io.github.gmazzo.docker.compose
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
-
-
Field Summary
Fields Modifier and Type Field Description private final ListProperty<String>optionsUpprivate final ListProperty<String>optionsDownprivate final Property<Boolean>keepContainersRunningprivate final Property<Boolean>printPortMappingsprivate final Property<Boolean>printLogsprivate final DockerComposeSettings.WaitForTCPPortswaitForTCPPortsprivate final Property<String>projectNameprivate final DirectoryPropertyworkingDirectoryprivate final ConfigurableFileCollectioncomposeFileprivate final ListProperty<String>optionsCreateprivate final Stringname
-
Constructor Summary
Constructors Constructor Description DockerComposeSpec()
-
Method Summary
Modifier and Type Method Description final UnitbindTo(TaskProvider<?> task)Binds buildService to the given task as a BuildService and register the docker-composefile as org.gradle.api.tasks.TaskInputs.filesOptionally, if task supports JavaForkOptions also exposes its DockerComposeService.containers as JavaForkOptions.systemPropertiesfinal UnitbindTo(Task task)Binds buildService to the given task as a BuildService and register the docker-composefile 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
-
-
Method Detail
-
bindTo
final Unit bindTo(TaskProvider<?> task)
Binds buildService to the given task as a BuildService and register the
docker-composefile as org.gradle.api.tasks.TaskInputs.filesOptionally, 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-composefile as org.gradle.api.tasks.TaskInputs.filesOptionally, if task supports JavaForkOptions also exposes its DockerComposeService.containers as JavaForkOptions.systemProperties
-
-
-
-