-
public final class DockerDaemonSpec extends DockerRunSpec
Specialized DSL for running command 'docker run' with daemon-like capability.
-
-
Field Summary
Fields Modifier and Type Field Description private final Property<Long>initTimeprivate final Property<Boolean>stopPreviousprivate final Property<String>idprivate final Property<Boolean>idUniqueprivate final RegularFilePropertyoutputFileprivate final Property<String>nameprivate final Property<String>imageprivate final MapProperty<String, String>volumesprivate final MapProperty<String, String>portsprivate final Property<Boolean>autoRemoveprivate final Property<Boolean>detachedprivate final ListProperty<String>optionsprivate final ListProperty<String>argsprivate final Provider<String>commandprivate final Property<String>operationprivate final Property<Boolean>indicatorprivate final DirectoryPropertycommandDirprivate final ListProperty<String>commandLineprivate ListProperty<Int>exitCodesprivate Property<InputStream>inputprivate final Property<OutputStream>outputprivate final Property<OutputStream>errors
-
Constructor Summary
Constructors Constructor Description DockerDaemonSpec(Docker docker)
-
Method Summary
Modifier and Type Method Description final Property<Long>getInitTime()final Property<Boolean>getStopPrevious()final Property<String>getId()final Property<Boolean>getIdUnique()final RegularFilePropertygetOutputFile()final Property<String>getName()final Property<String>getImage()final MapProperty<String, String>getVolumes()final MapProperty<String, String>getPorts()final Property<Boolean>getAutoRemove()final Property<Boolean>getDetached()final ListProperty<String>getOptions()final ListProperty<String>getArgs()final Provider<String>getCommand()final Property<String>getOperation()final Property<Boolean>getIndicator()final DirectoryPropertygetCommandDir()final ListProperty<String>getCommandLine()final ListProperty<Int>getExitCodes()final Property<InputStream>getInput()final Property<OutputStream>getOutput()final Property<OutputStream>getErrors()final UnitsetExitCodes(ListProperty<Int> exitCodes)final UnitsetInput(Property<InputStream> input)-
Methods inherited from class com.cognifide.gradle.environment.docker.DockerDaemonSpec
port, port, port, volume, volume, volume, workDirVolume -
Methods inherited from class com.cognifide.gradle.environment.docker.DockerRunSpec
args, args, argsShell, env, env, envFile, envFile, options, options, workDir -
Methods inherited from class com.cognifide.gradle.environment.docker.DockerInvokeSpec
exitCode, ignoreExitCodes, nullOut, systemOut -
Methods inherited from class com.cognifide.gradle.environment.docker.DockerSpec
equals, hashCode, toString -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
DockerDaemonSpec
DockerDaemonSpec(Docker docker)
-
-
Method Detail
-
getInitTime
final Property<Long> getInitTime()
-
getStopPrevious
final Property<Boolean> getStopPrevious()
-
getIdUnique
final Property<Boolean> getIdUnique()
-
getOutputFile
final RegularFileProperty getOutputFile()
-
getVolumes
final MapProperty<String, String> getVolumes()
-
getPorts
final MapProperty<String, String> getPorts()
-
getAutoRemove
final Property<Boolean> getAutoRemove()
-
getDetached
final Property<Boolean> getDetached()
-
getOptions
final ListProperty<String> getOptions()
-
getArgs
final ListProperty<String> getArgs()
-
getCommand
final Provider<String> getCommand()
-
getOperation
final Property<String> getOperation()
-
getIndicator
final Property<Boolean> getIndicator()
-
getCommandDir
final DirectoryProperty getCommandDir()
-
getCommandLine
final ListProperty<String> getCommandLine()
-
getExitCodes
final ListProperty<Int> getExitCodes()
-
getInput
final Property<InputStream> getInput()
-
getOutput
final Property<OutputStream> getOutput()
-
getErrors
final Property<OutputStream> getErrors()
-
setExitCodes
final Unit setExitCodes(ListProperty<Int> exitCodes)
-
setInput
final Unit setInput(Property<InputStream> input)
-
-
-
-