@ExperimentalApi
public interface DockerHandler
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.
|
String getEditHtml()
String getViewHtml()
boolean isEnabled()
String getIsolationType()
ErrorCollection validateConfig(Map<String,Object> webFragmentsContextMap)
webFragmentsContextMap
- void enableAndUpdate(BuildDefinition buildDefinition, Job job, Map<String,Object> webFragmentsContextMap)
buildDefinition
- job
- webFragmentsContextMap
- void enableAndUpdate(Environment environment, Map<String,Object> webFragmentsContextMap)
environment
- webFragmentsContextMap
- void disable(BuildDefinition buildDefinition, Job job)
buildDefinition
- job
- void disable(Environment environment)
environment
- void appendConfiguration(BuildConfiguration buildConfiguration, Map<String,Object> webFragmentsContextMap, boolean enabled)
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.