public class DefaultDockerHandlerImpl extends Object implements DockerHandler
| Constructor and Description |
|---|
DefaultDockerHandlerImpl(DockerPipelineConfiguration configuration,
DockerPipelineValidationService dockerPipelineValidationService,
EnvironmentCustomConfigService environmentCustomConfigService,
com.atlassian.plugin.ModuleDescriptor moduleDescriptor,
TemplateRenderer templateRenderer,
TaskManager taskManager,
boolean create) |
| Modifier and Type | Method and Description |
|---|---|
void |
appendConfiguration(BuildConfiguration buildConfiguration,
Map<String,Object> webFragmentsContextMap,
boolean enabled) |
void |
disable(BuildDefinition buildDefinition,
Job job)
Called for Docker isolation options that were not selected in Job related UIs.
|
void |
disable(Environment environment)
Called for Docker isolation options that were not selected in Environment related UIs.
|
void |
enableAndUpdate(BuildDefinition buildDefinition,
Job job,
Map<String,Object> webFragmentsContextMap)
Called for the selected Docker isolation option in Job related UIs.
|
void |
enableAndUpdate(Environment environment,
Map<String,Object> webFragmentsContextMap)
Called for the selected Docker isolation option in Environment related UIs.
|
String |
getEditHtml()
Renders the edit page.
|
String |
getIsolationType()
Identifier of Docker isolation type.
|
String |
getViewHtml()
Renders the view page.
|
boolean |
isEnabled()
Returns enablement state of the implementation.
|
ErrorCollection |
validateConfig(Map<String,Object> webFragmentsContextMap)
validate the configuration, only called for enabled option.
|
public DefaultDockerHandlerImpl(DockerPipelineConfiguration configuration, DockerPipelineValidationService dockerPipelineValidationService, EnvironmentCustomConfigService environmentCustomConfigService, com.atlassian.plugin.ModuleDescriptor moduleDescriptor, TemplateRenderer templateRenderer, TaskManager taskManager, boolean create)
public String getEditHtml()
DockerHandlergetEditHtml in interface DockerHandlerpublic String getViewHtml()
DockerHandlergetViewHtml in interface DockerHandlerpublic boolean isEnabled()
DockerHandlerisEnabled in interface DockerHandlerpublic String getIsolationType()
DockerHandlergetIsolationType in interface DockerHandlerpublic ErrorCollection validateConfig(Map<String,Object> webFragmentsContextMap)
validateConfig in interface DockerHandlerwebFragmentsContextMap - public void enableAndUpdate(BuildDefinition buildDefinition, Job job, Map<String,Object> webFragmentsContextMap)
DockerHandlerenableAndUpdate in interface DockerHandlerpublic void enableAndUpdate(Environment environment, Map<String,Object> webFragmentsContextMap)
DockerHandlerenableAndUpdate in interface DockerHandlerpublic void disable(BuildDefinition buildDefinition, Job job)
DockerHandlerdisable in interface DockerHandlerpublic void disable(Environment environment)
DockerHandlerdisable in interface DockerHandlerpublic void appendConfiguration(BuildConfiguration buildConfiguration, Map<String,Object> webFragmentsContextMap, boolean enabled)
appendConfiguration in interface DockerHandlerCopyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.