Uses of Interface
com.atlassian.bamboo.process.ProcessContext
-
Uses of ProcessContext in com.atlassian.bamboo.docker
Modifier and TypeMethodDescription@Nullable Integer
DockerContainerService.getHostPort
(@NotNull ProcessContext processContext, @NotNull Path dockerPath, @NotNull String containerName, @NotNull Integer containerPort, @NotNull Path workingDirectory, @NotNull Map<String, String> environment) Gets the host port mapped to the given container port.@Nullable Integer
DockerContainerServiceImpl.getHostPort
(@NotNull ProcessContext processContext, @NotNull Path dockerPath, @NotNull String containerName, @NotNull Integer containerPort, @NotNull Path workingDirectory, @NotNull Map<String, String> environment) boolean
DockerContainerService.isRunning
(@NotNull ProcessContext processContext, @NotNull Path dockerPath, @NotNull String containerName, @NotNull Path workingDirectory, @NotNull Map<String, String> environment) Checks if a container with the given name is running.boolean
DockerContainerServiceImpl.isRunning
(@NotNull ProcessContext processContext, @NotNull Path dockerPath, @NotNull String containerName, @NotNull Path workingDirectory, @NotNull Map<String, String> environment) void
DockerContainerService.remove
(@NotNull ProcessContext processContext, @NotNull Path dockerPath, @NotNull String containerName, @NotNull Path workingDirectory, @NotNull Map<String, String> environment) Removes the container with the given name.void
DockerContainerServiceImpl.remove
(@NotNull ProcessContext processContext, @NotNull Path dockerPath, @NotNull String containerName, @NotNull Path workingDirectory, @NotNull Map<String, String> environment) void
DockerContainerService.run
(@NotNull ProcessContext processContext, @NotNull Path dockerPath, @NotNull String imageName, @NotNull RunConfig runConfig, @NotNull Path workingDirectory, @NotNull Map<String, String> environment) Start a Docker container for the image provided.void
DockerContainerServiceImpl.run
(@NotNull ProcessContext processContext, @NotNull Path dockerPath, @NotNull String imageName, @NotNull RunConfig runConfig, @NotNull Path workingDirectory, @NotNull Map<String, String> environment) -
Uses of ProcessContext in com.atlassian.bamboo.process
Modifier and TypeMethodDescriptionProcessContextFactory.forCommonContext
(@NotNull CommonContext commonContext) GenerateProcessContext
for a process executed out of scope of any task.ProcessContextFactoryImpl.forCommonContext
(@NotNull CommonContext commonContext) ProcessContextFactory.forTaskContext
(@NotNull CommonTaskContext taskContext) GenerateProcessContext
for a task.ProcessContextFactoryImpl.forTaskContext
(@NotNull CommonTaskContext taskContext) Modifier and TypeMethodDescription@NotNull Map<com.atlassian.utils.process.ExternalProcess,
ProcessContext> BackgroundTaskProcesses.BackgroundTaskProcessesFacade.cancel()
Kills all processes.Modifier and TypeMethodDescription@NotNull com.atlassian.utils.process.ExternalProcess
ProcessService.createExternalProcess
(@NotNull ProcessContext processContext, @NotNull ExternalProcessBuilder processBuilder) Create a newExternalProcess
that logs to theBuildLogger
for the givenResultKey
Processes created with this method will be decorated by any applicableTaskProcessCommandDecorator
@NotNull com.atlassian.utils.process.ExternalProcess
ProcessServiceImpl.createExternalProcess
(@NotNull ProcessContext processContext, @NotNull ExternalProcessBuilder processBuilder) @NotNull com.atlassian.utils.process.ExternalProcess
ProcessService.executeExternalProcess
(@NotNull ProcessContext processContext, @NotNull ExternalProcessBuilder processBuilder) Create and executeExternalProcess
that logs to theBuildLogger
for the givenResultKey
Processes created with this method will be decorated by any applicableTaskProcessCommandDecorator
@NotNull com.atlassian.utils.process.ExternalProcess
ProcessServiceImpl.executeExternalProcess
(@NotNull ProcessContext processContext, @NotNull ExternalProcessBuilder processBuilder)