-
public class DockerInvokeSpec extends DockerSpec
Base for both 'docker run' and 'docker exec' commands.
-
-
Field Summary
Fields Modifier and Type Field Description private final ListProperty<String>optionsprivate final ListProperty<String>argsprivate final Provider<String>commandprivate final Property<String>operationprivate final Property<Boolean>indicatorprivate final ListProperty<String>commandLineprivate ListProperty<Int>exitCodesprivate Property<InputStream>inputprivate final Property<OutputStream>outputprivate final Property<OutputStream>errors
-
Constructor Summary
Constructors Constructor Description DockerInvokeSpec(Docker docker)
-
Method Summary
Modifier and Type Method Description final Unitoptions(Array<Out String> options)final Unitoptions(Iterable<String> options)final Unitargs(Array<Out Any> args)final Unitargs(Iterable<Any> args)final UnitargsShell(String command)final ListProperty<String>getOptions()final ListProperty<String>getArgs()final Provider<String>getCommand()final Property<String>getOperation()final Property<Boolean>getIndicator()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.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
-
DockerInvokeSpec
DockerInvokeSpec(Docker docker)
-
-
Method Detail
-
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()
-
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)
-
-
-
-