public class TestDockerHandler extends Object implements DockerHandler
| Modifier and Type | Field and Description |
|---|---|
static String |
ENABLED_KEY |
static String |
PLUGIN_KEY |
| Constructor and Description |
|---|
TestDockerHandler(BuildDefinition buildDefinition,
EnvironmentCustomConfigService environmentCustomConfigService) |
TestDockerHandler(EnvironmentCustomConfigService environmentCustomConfigService) |
TestDockerHandler(Environment environment,
EnvironmentCustomConfigService environmentCustomConfigService) |
| 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)
Construct configuration from webFragmentContextMap and validate that the config is valid.
|
public static final String ENABLED_KEY
public static final String PLUGIN_KEY
public TestDockerHandler(BuildDefinition buildDefinition, EnvironmentCustomConfigService environmentCustomConfigService)
public TestDockerHandler(Environment environment, EnvironmentCustomConfigService environmentCustomConfigService)
public TestDockerHandler(EnvironmentCustomConfigService environmentCustomConfigService)
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)
DockerHandlervalidateConfig in interface DockerHandlerpublic 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.