public class ContainerPreparer
Provides methods to configure container related tasks.
@NotNull public static java.lang.String TASK_PULLBASEIMAGE
@NotNull public static java.lang.String TASK_CREATECONTAINER
@NotNull public static java.lang.String TASK_STARTCONTAINER
@NotNull public static java.lang.String TASK_REMOVECONTAINER
@NotNull public static java.lang.String TASK_FINALIZECONTAINER
@NotNull public static java.lang.String SERVERLOGS
@NotNull public static java.lang.String SERVERLOGS_PATH
@NotNull public static java.lang.String ISHUNITOUT
@NotNull public static java.lang.String ISHUNITOUT_PATH
public static com.intershop.gradle.icm.docker.utils.ContainerPreparer.Companion Companion
public ContainerPreparer(@NotNull
org.gradle.api.Project project,
@NotNull
IntershopDockerExtension dockerExtension)
Provides methods to configure container related tasks.
@NotNull public PullImage getPullImage()
Get pull image task.
@NotNull
public com.bmuschko.gradle.docker.tasks.container.DockerCreateContainer getBaseContainer(@NotNull
PullImage pullImage)
Creates base container.
pullImage - pull image task.@NotNull
public com.bmuschko.gradle.docker.tasks.container.DockerStartContainer getStartContainer(@NotNull
com.bmuschko.gradle.docker.tasks.container.DockerCreateContainer container)
Starts base container.
@NotNull public RemoveContainerByName getRemoveContainerByName()
Remove base container.
@NotNull
public com.bmuschko.gradle.docker.tasks.container.DockerRemoveContainer getFinalizeContainer(@NotNull
com.bmuschko.gradle.docker.tasks.container.DockerStartContainer startContainer)
Configures remove container.
startContainer - Task, that starts the base container.@NotNull public org.gradle.api.Project getProject()