Package | Description |
---|---|
com.atlassian.bamboo.docker | |
com.atlassian.bamboo.process |
Modifier and Type | Method and Description |
---|---|
Integer |
DockerContainerServiceImpl.getHostPort(ProcessContext processContext,
Path dockerPath,
String containerName,
Integer containerPort,
Path workingDirectory,
Map<String,String> environment) |
Integer |
DockerContainerService.getHostPort(ProcessContext processContext,
Path dockerPath,
String containerName,
Integer containerPort,
Path workingDirectory,
Map<String,String> environment)
Gets the host port mapped to the given container port.
|
boolean |
DockerContainerServiceImpl.isRunning(ProcessContext processContext,
Path dockerPath,
String containerName,
Path workingDirectory,
Map<String,String> environment) |
boolean |
DockerContainerService.isRunning(ProcessContext processContext,
Path dockerPath,
String containerName,
Path workingDirectory,
Map<String,String> environment)
Checks if a container with the given name is running.
|
void |
DockerContainerServiceImpl.remove(ProcessContext processContext,
Path dockerPath,
String containerName,
Path workingDirectory,
Map<String,String> environment) |
void |
DockerContainerService.remove(ProcessContext processContext,
Path dockerPath,
String containerName,
Path workingDirectory,
Map<String,String> environment)
Removes the container with the given name.
|
void |
DockerContainerServiceImpl.run(ProcessContext processContext,
Path dockerPath,
String imageName,
RunConfig runConfig,
Path workingDirectory,
Map<String,String> environment) |
void |
DockerContainerService.run(ProcessContext processContext,
Path dockerPath,
String imageName,
RunConfig runConfig,
Path workingDirectory,
Map<String,String> environment)
Start a Docker container for the image provided.
|
Modifier and Type | Class and Description |
---|---|
class |
ProcessContextImpl |
Modifier and Type | Method and Description |
---|---|
ProcessContext |
ProcessContextFactoryImpl.forCommonContext(CommonContext commonContext) |
ProcessContext |
ProcessContextFactory.forCommonContext(CommonContext commonContext)
Generate
ProcessContext for a process executed out of scope of any task. |
ProcessContext |
ProcessContextFactoryImpl.forTaskContext(CommonTaskContext taskContext) |
ProcessContext |
ProcessContextFactory.forTaskContext(CommonTaskContext taskContext)
Generate
ProcessContext for a task. |
Modifier and Type | Method and Description |
---|---|
Map<com.atlassian.utils.process.ExternalProcess,ProcessContext> |
BackgroundTaskProcesses.BackgroundTaskProcessesFacade.cancel()
Kills all processes.
|
Modifier and Type | Method and Description |
---|---|
com.atlassian.utils.process.ExternalProcess |
ProcessServiceImpl.createExternalProcess(ProcessContext processContext,
ExternalProcessBuilder processBuilder) |
com.atlassian.utils.process.ExternalProcess |
ProcessService.createExternalProcess(ProcessContext processContext,
ExternalProcessBuilder processBuilder)
Create a new
ExternalProcess that logs to the BuildLogger for the given ResultKey
Processes created with this method will be decorated by any applicable TaskProcessCommandDecorator |
com.atlassian.utils.process.ExternalProcess |
ProcessServiceImpl.executeExternalProcess(ProcessContext processContext,
ExternalProcessBuilder processBuilder) |
com.atlassian.utils.process.ExternalProcess |
ProcessService.executeExternalProcess(ProcessContext processContext,
ExternalProcessBuilder processBuilder)
Create and execute
ExternalProcess that logs to the BuildLogger for the given ResultKey
Processes created with this method will be decorated by any applicable TaskProcessCommandDecorator |
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.