Package com.atlassian.bamboo.docker
Class RunConfig.Builder
- java.lang.Object
-
- com.atlassian.bamboo.docker.RunConfig.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull RunConfig.Builder
additionalArgs(@NotNull String additionalArgs)
@NotNull RunConfig
build()
@NotNull RunConfig.Builder
command(@NotNull String command)
@NotNull RunConfig.Builder
containerName(@NotNull String containerName)
@NotNull RunConfig.Builder
detach(boolean detach)
@NotNull RunConfig.Builder
env(@NotNull Map<String,String> env)
@NotNull RunConfig.Builder
links(@NotNull Map<String,String> links)
@NotNull RunConfig.Builder
passedEnv(List<String> dockerEnv)
@NotNull RunConfig.Builder
ports(@NotNull List<PortMapping> ports)
@NotNull RunConfig.Builder
tokenizedAdditionalArgs(@NotNull List<String> additionalArgs)
@NotNull RunConfig.Builder
useInitialisingScript(boolean useInitialisingScript)
@NotNull RunConfig.Builder
volumes(@NotNull List<DataVolume> volumes)
@NotNull RunConfig.Builder
workDir(@NotNull String workDir)
-
-
-
Method Detail
-
command
@NotNull public @NotNull RunConfig.Builder command(@NotNull @NotNull String command)
-
containerName
@NotNull public @NotNull RunConfig.Builder containerName(@NotNull @NotNull String containerName)
-
ports
@NotNull public @NotNull RunConfig.Builder ports(@NotNull @NotNull List<PortMapping> ports)
-
volumes
@NotNull public @NotNull RunConfig.Builder volumes(@NotNull @NotNull List<DataVolume> volumes)
-
workDir
@NotNull public @NotNull RunConfig.Builder workDir(@NotNull @NotNull String workDir)
-
detach
@NotNull public @NotNull RunConfig.Builder detach(boolean detach)
-
links
@NotNull public @NotNull RunConfig.Builder links(@NotNull @NotNull Map<String,String> links)
-
env
@NotNull public @NotNull RunConfig.Builder env(@NotNull @NotNull Map<String,String> env)
-
passedEnv
@NotNull public @NotNull RunConfig.Builder passedEnv(List<String> dockerEnv)
-
additionalArgs
@NotNull public @NotNull RunConfig.Builder additionalArgs(@NotNull @NotNull String additionalArgs)
-
tokenizedAdditionalArgs
@NotNull public @NotNull RunConfig.Builder tokenizedAdditionalArgs(@NotNull @NotNull List<String> additionalArgs)
-
useInitialisingScript
@NotNull public @NotNull RunConfig.Builder useInitialisingScript(boolean useInitialisingScript)
-
build
@NotNull public @NotNull RunConfig build()
-
-